mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
trick swig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12209 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1488,9 +1488,8 @@ SWIG_Lua_dostring(lua_State *L, const char* str) {
|
||||
#define SWIGTYPE_p_ESLevent swig_types[1]
|
||||
#define SWIGTYPE_p_esl_event_t swig_types[2]
|
||||
#define SWIGTYPE_p_esl_priority_t swig_types[3]
|
||||
#define SWIGTYPE_p_esl_status_t swig_types[4]
|
||||
static swig_type_info *swig_types[6];
|
||||
static swig_module_info swig_module = {swig_types, 5, 0, 0, 0, 0};
|
||||
static swig_type_info *swig_types[5];
|
||||
static swig_module_info swig_module = {swig_types, 4, 0, 0, 0, 0};
|
||||
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
||||
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
||||
|
||||
@@ -2278,7 +2277,7 @@ static int _wrap_ESLconnection_send(lua_State* L) {
|
||||
int SWIG_arg = -1;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
esl_status_t result;
|
||||
int result;
|
||||
|
||||
SWIG_check_num_args("send",2,2)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("send",1,"ESLconnection *");
|
||||
@@ -2289,12 +2288,9 @@ static int _wrap_ESLconnection_send(lua_State* L) {
|
||||
}
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
result = (arg1)->send((char const *)arg2);
|
||||
result = (int)(arg1)->send((char const *)arg2);
|
||||
SWIG_arg=0;
|
||||
{
|
||||
esl_status_t * resultptr = new esl_status_t((esl_status_t &) result);
|
||||
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_esl_status_t,1); SWIG_arg++;
|
||||
}
|
||||
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
@@ -2403,7 +2399,7 @@ static int _wrap_ESLconnection_sendEvent(lua_State* L) {
|
||||
int SWIG_arg = -1;
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
ESLevent *arg2 = (ESLevent *) 0 ;
|
||||
esl_status_t result;
|
||||
int result;
|
||||
|
||||
SWIG_check_num_args("sendEvent",2,2)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("sendEvent",1,"ESLconnection *");
|
||||
@@ -2418,12 +2414,9 @@ static int _wrap_ESLconnection_sendEvent(lua_State* L) {
|
||||
SWIG_fail_ptr("ESLconnection_sendEvent",2,SWIGTYPE_p_ESLevent);
|
||||
}
|
||||
|
||||
result = (arg1)->sendEvent(arg2);
|
||||
result = (int)(arg1)->sendEvent(arg2);
|
||||
SWIG_arg=0;
|
||||
{
|
||||
esl_status_t * resultptr = new esl_status_t((esl_status_t &) result);
|
||||
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_esl_status_t,1); SWIG_arg++;
|
||||
}
|
||||
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
@@ -2492,7 +2485,7 @@ static int _wrap_ESLconnection_filter(lua_State* L) {
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
esl_status_t result;
|
||||
int result;
|
||||
|
||||
SWIG_check_num_args("filter",3,3)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("filter",1,"ESLconnection *");
|
||||
@@ -2505,12 +2498,9 @@ static int _wrap_ESLconnection_filter(lua_State* L) {
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
arg3 = (char *)lua_tostring(L, 3);
|
||||
result = (arg1)->filter((char const *)arg2,(char const *)arg3);
|
||||
result = (int)(arg1)->filter((char const *)arg2,(char const *)arg3);
|
||||
SWIG_arg=0;
|
||||
{
|
||||
esl_status_t * resultptr = new esl_status_t((esl_status_t &) result);
|
||||
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_esl_status_t,1); SWIG_arg++;
|
||||
}
|
||||
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
@@ -2526,7 +2516,7 @@ static int _wrap_ESLconnection_events(lua_State* L) {
|
||||
ESLconnection *arg1 = (ESLconnection *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
esl_status_t result;
|
||||
int result;
|
||||
|
||||
SWIG_check_num_args("events",3,3)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("events",1,"ESLconnection *");
|
||||
@@ -2539,12 +2529,9 @@ static int _wrap_ESLconnection_events(lua_State* L) {
|
||||
|
||||
arg2 = (char *)lua_tostring(L, 2);
|
||||
arg3 = (char *)lua_tostring(L, 3);
|
||||
result = (arg1)->events((char const *)arg2,(char const *)arg3);
|
||||
result = (int)(arg1)->events((char const *)arg2,(char const *)arg3);
|
||||
SWIG_arg=0;
|
||||
{
|
||||
esl_status_t * resultptr = new esl_status_t((esl_status_t &) result);
|
||||
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_esl_status_t,1); SWIG_arg++;
|
||||
}
|
||||
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
@@ -2561,7 +2548,7 @@ static int _wrap_ESLconnection_execute(lua_State* L) {
|
||||
char *arg2 = (char *) 0 ;
|
||||
char *arg3 = (char *) NULL ;
|
||||
char *arg4 = (char *) NULL ;
|
||||
esl_status_t result;
|
||||
int result;
|
||||
|
||||
SWIG_check_num_args("execute",2,4)
|
||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("execute",1,"ESLconnection *");
|
||||
@@ -2580,12 +2567,9 @@ static int _wrap_ESLconnection_execute(lua_State* L) {
|
||||
if(lua_gettop(L)>=4){
|
||||
arg4 = (char *)lua_tostring(L, 4);
|
||||
}
|
||||
result = (arg1)->execute((char const *)arg2,(char const *)arg3,(char const *)arg4);
|
||||
result = (int)(arg1)->execute((char const *)arg2,(char const *)arg3,(char const *)arg4);
|
||||
SWIG_arg=0;
|
||||
{
|
||||
esl_status_t * resultptr = new esl_status_t((esl_status_t &) result);
|
||||
SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_esl_status_t,1); SWIG_arg++;
|
||||
}
|
||||
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
|
||||
return SWIG_arg;
|
||||
|
||||
if(0) SWIG_fail;
|
||||
@@ -2723,28 +2707,24 @@ static swig_type_info _swigt__p_ESLconnection = {"_p_ESLconnection", "ESLconnect
|
||||
static swig_type_info _swigt__p_ESLevent = {"_p_ESLevent", "ESLevent *", 0, 0, (void*)&_wrap_class_ESLevent, 0};
|
||||
static swig_type_info _swigt__p_esl_event_t = {"_p_esl_event_t", "esl_event_t *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_esl_priority_t = {"_p_esl_priority_t", "esl_priority_t *", 0, 0, (void*)0, 0};
|
||||
static swig_type_info _swigt__p_esl_status_t = {"_p_esl_status_t", "esl_status_t *", 0, 0, (void*)0, 0};
|
||||
|
||||
static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_ESLconnection,
|
||||
&_swigt__p_ESLevent,
|
||||
&_swigt__p_esl_event_t,
|
||||
&_swigt__p_esl_priority_t,
|
||||
&_swigt__p_esl_status_t,
|
||||
};
|
||||
|
||||
static swig_cast_info _swigc__p_ESLconnection[] = { {&_swigt__p_ESLconnection, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_ESLevent[] = { {&_swigt__p_ESLevent, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_esl_event_t[] = { {&_swigt__p_esl_event_t, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_esl_priority_t[] = { {&_swigt__p_esl_priority_t, 0, 0, 0},{0, 0, 0, 0}};
|
||||
static swig_cast_info _swigc__p_esl_status_t[] = { {&_swigt__p_esl_status_t, 0, 0, 0},{0, 0, 0, 0}};
|
||||
|
||||
static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_ESLconnection,
|
||||
_swigc__p_ESLevent,
|
||||
_swigc__p_esl_event_t,
|
||||
_swigc__p_esl_priority_t,
|
||||
_swigc__p_esl_status_t,
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user