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
@@ -40,6 +40,8 @@
%newobject Event;
%newobject Stream;
%newobject Dbh;
%newobject API::execute;
%newobject API::executeString;
/**
* tell swig to grok everything defined in these header files and
@@ -1980,6 +1980,7 @@ static int _wrap_API_execute(lua_State* L) {
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
SWIG_arg=0;
lua_pushstring(L,(const char*)result); SWIG_arg++;
free(result);
return SWIG_arg;
if(0) SWIG_fail;
@@ -2008,6 +2009,7 @@ static int _wrap_API_executeString(lua_State* L) {
result = (char *)(arg1)->executeString((char const *)arg2);
SWIG_arg=0;
lua_pushstring(L,(const char*)result); SWIG_arg++;
free(result);
return SWIG_arg;
if(0) SWIG_fail;
@@ -82,6 +82,8 @@ char * SWIG_csharp_string_callback(const char * str) {
%newobject CoreSession;
%newobject Event;
%newobject Stream;
%newobject API::execute;
%newobject API::executeString;
// Allow bitwise compare on flag fields
%typemap(csclassmodifiers) session_flag_t "[System.Flags] public enum"
@@ -1,11 +1,11 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.7
*
* This file is not intended to be easily readable and contains a number of
* Version 2.0.12
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* changes to this file unless you know what you are doing--modify the SWIG
* interface file instead.
* ----------------------------------------------------------------------------- */
#define SWIGCSHARP
@@ -65,28 +65,28 @@ template <typename T> T SwigValueInit() {
#ifndef SWIGUNUSED
# if defined(__GNUC__)
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
# define SWIGUNUSED __attribute__ ((__unused__))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# endif
# elif defined(__ICC)
# define SWIGUNUSED __attribute__ ((__unused__))
# define SWIGUNUSED __attribute__ ((__unused__))
# else
# define SWIGUNUSED
# define SWIGUNUSED
# endif
#endif
#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
# endif
#endif
#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
# define SWIGUNUSEDPARM(p)
# else
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif
@@ -129,7 +129,7 @@ template <typename T> T SwigValueInit() {
# define SWIGSTDCALL __stdcall
# else
# define SWIGSTDCALL
# endif
# endif
#endif
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
@@ -41996,6 +41996,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_Execute(void * jarg1, char * jarg2, cha
arg3 = (char *)jarg3;
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
jresult = SWIG_csharp_string_callback((const char *)result);
free(result);
return jresult;
}
@@ -42010,6 +42011,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_ExecuteString(void * jarg1, char * jarg
arg2 = (char *)jarg2;
result = (char *)(arg1)->executeString((char const *)arg2);
jresult = SWIG_csharp_string_callback((const char *)result);
free(result);
return jresult;
}
File diff suppressed because it is too large. Load diff
+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:
@@ -38,6 +38,8 @@
%newobject Event;
%newobject Stream;
%newobject Dbh;
%newobject API::execute;
%newobject API::executeString;
/**
* tell swig to grok everything defined in these header files and
@@ -1980,6 +1980,7 @@ static int _wrap_API_execute(lua_State* L) {
result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3);
SWIG_arg=0;
lua_pushstring(L,(const char*)result); SWIG_arg++;
free(result);
return SWIG_arg;
if(0) SWIG_fail;
@@ -2008,6 +2009,7 @@ static int _wrap_API_executeString(lua_State* L) {
result = (char *)(arg1)->executeString((char const *)arg2);
SWIG_arg=0;
lua_pushstring(L,(const char*)result); SWIG_arg++;
free(result);
return SWIG_arg;
if(0) SWIG_fail;