1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 17:41:53 +00:00

FS-6061 swigall

This commit is contained in:
Anthony Minessale 2013-12-23 23:24:53 +05:00
parent 15df017f6c
commit 9a1157078f
5 changed files with 9 additions and 7 deletions
src
include
mod/languages

@ -397,7 +397,7 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *bod
SWITCH_DECLARE(void) console_log(char *level_str, char *msg);
SWITCH_DECLARE(void) console_clean_log(char *msg);
SWITCH_DECLARE(void) msleep(unsigned ms);
SWITCH_DECLARE(void) switch_msleep(unsigned ms);
/** \brief bridge the audio of session_b into session_a
*

@ -6292,10 +6292,10 @@ static int _wrap_msleep(lua_State* L) {
int SWIG_arg = -1;
unsigned int arg1 ;
SWIG_check_num_args("msleep",1,1)
if(!lua_isnumber(L,1)) SWIG_fail_arg("msleep",1,"unsigned int");
SWIG_check_num_args("switch_msleep",1,1)
if(!lua_isnumber(L,1)) SWIG_fail_arg("switch_msleep",1,"unsigned int");
arg1 = (unsigned int)lua_tonumber(L, 1);
msleep(arg1);
switch_msleep(arg1);
SWIG_arg=0;
return SWIG_arg;

@ -41502,7 +41502,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_msleep(unsigned int jarg1) {
unsigned int arg1 ;
arg1 = (unsigned int)jarg1;
msleep(arg1);
switch_msleep(arg1);
}

@ -8183,7 +8183,7 @@ XS(_wrap_msleep) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "msleep" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
msleep(arg1);
switch_msleep(arg1);
XSRETURN(argvi);

@ -5585,7 +5585,9 @@ SWIGINTERN PyObject *_wrap_EventConsumer_pop(PyObject *SWIGUNUSEDPARM(self), PyO
}
arg3 = static_cast< int >(val3);
}
Py_BEGIN_ALLOW_THREADS;
result = (Event *)(arg1)->pop(arg2,arg3);
Py_END_ALLOW_THREADS;
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
@ -8387,7 +8389,7 @@ SWIGINTERN PyObject *_wrap_msleep(PyObject *SWIGUNUSEDPARM(self), PyObject *args
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "msleep" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
msleep(arg1);
switch_msleep(arg1);
resultobj = SWIG_Py_Void();
return resultobj;
fail: