FS-6061 swigall
This commit is contained in:
parent
1af72288d1
commit
b63bacf43f
|
@ -398,7 +398,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_log(char *level_str, char *msg);
|
||||||
SWITCH_DECLARE(void) console_clean_log(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
|
/** \brief bridge the audio of session_b into session_a
|
||||||
*
|
*
|
||||||
|
|
|
@ -3169,7 +3169,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_msleep(JNIEnv *je
|
||||||
(void)jenv;
|
(void)jenv;
|
||||||
(void)jcls;
|
(void)jcls;
|
||||||
arg1 = (unsigned int)jarg1;
|
arg1 = (unsigned int)jarg1;
|
||||||
msleep(arg1);
|
switch_msleep(arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Lua function typemap */
|
/* Lua function typemap */
|
||||||
%typemap(in, checkfn = "lua_isfunction") SWIGLUA_FN {
|
%typemap(in, checkfn = "lua_isfunction") SWIGLUA_FN {
|
||||||
$1.L = L;
|
$1.L = L;
|
||||||
|
|
|
@ -6299,10 +6299,10 @@ static int _wrap_msleep(lua_State* L) {
|
||||||
int SWIG_arg = -1;
|
int SWIG_arg = -1;
|
||||||
unsigned int arg1 ;
|
unsigned int arg1 ;
|
||||||
|
|
||||||
SWIG_check_num_args("msleep",1,1)
|
SWIG_check_num_args("switch_msleep",1,1)
|
||||||
if(!lua_isnumber(L,1)) SWIG_fail_arg("msleep",1,"unsigned int");
|
if(!lua_isnumber(L,1)) SWIG_fail_arg("switch_msleep",1,"unsigned int");
|
||||||
arg1 = (unsigned int)lua_tonumber(L, 1);
|
arg1 = (unsigned int)lua_tonumber(L, 1);
|
||||||
msleep(arg1);
|
switch_msleep(arg1);
|
||||||
SWIG_arg=0;
|
SWIG_arg=0;
|
||||||
|
|
||||||
return SWIG_arg;
|
return SWIG_arg;
|
||||||
|
|
|
@ -43119,7 +43119,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_msleep(unsigned int jarg1) {
|
||||||
unsigned int arg1 ;
|
unsigned int arg1 ;
|
||||||
|
|
||||||
arg1 = (unsigned int)jarg1;
|
arg1 = (unsigned int)jarg1;
|
||||||
msleep(arg1);
|
switch_msleep(arg1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8195,7 +8195,7 @@ XS(_wrap_msleep) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "msleep" "', argument " "1"" of type '" "unsigned int""'");
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "msleep" "', argument " "1"" of type '" "unsigned int""'");
|
||||||
}
|
}
|
||||||
arg1 = static_cast< unsigned int >(val1);
|
arg1 = static_cast< unsigned int >(val1);
|
||||||
msleep(arg1);
|
switch_msleep(arg1);
|
||||||
|
|
||||||
|
|
||||||
XSRETURN(argvi);
|
XSRETURN(argvi);
|
||||||
|
|
|
@ -8398,7 +8398,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""'");
|
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "msleep" "', argument " "1"" of type '" "unsigned int""'");
|
||||||
}
|
}
|
||||||
arg1 = static_cast< unsigned int >(val1);
|
arg1 = static_cast< unsigned int >(val1);
|
||||||
msleep(arg1);
|
switch_msleep(arg1);
|
||||||
resultobj = SWIG_Py_Void();
|
resultobj = SWIG_Py_Void();
|
||||||
return resultobj;
|
return resultobj;
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue