FS-6615 test this patch

This commit is contained in:
Anthony Minessale committed 2014-07-16 19:33:10 +05:00
1 parent 958d9d9b21
commit 3a00260dc6
11 files changed
+440 -424

No files matched your search

+2
View File
@@ -15,6 +15,8 @@
%newobject CoreSession;
%newobject Event;
%newobject Stream;
%newobject API::execute;
%newobject API::executeString;
/** insert the following includes into generated code so it compiles */
%{
@@ -2679,6 +2679,7 @@ XS(_wrap_API_execute) {
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
free(result);
XSRETURN(argvi);
fail:
@@ -2719,6 +2720,7 @@ XS(_wrap_API_executeString) {
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
free(result);
XSRETURN(argvi);
fail: