FS-6061 swigall

This commit is contained in:
Anthony Minessale 2013-12-23 22:43:48 +05:00
parent 1af72288d1
commit b63bacf43f
7 changed files with 10 additions and 8 deletions

View File

@ -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_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
*

View File

@ -3169,7 +3169,7 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_msleep(JNIEnv *je
(void)jenv;
(void)jcls;
arg1 = (unsigned int)jarg1;
msleep(arg1);
switch_msleep(arg1);
}

View File

@ -19,6 +19,8 @@
%}
/* Lua function typemap */
%typemap(in, checkfn = "lua_isfunction") SWIGLUA_FN {
$1.L = L;

View File

@ -6299,10 +6299,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;

View File

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

View File

@ -8195,7 +8195,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);

View File

@ -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""'");
}
arg1 = static_cast< unsigned int >(val1);
msleep(arg1);
switch_msleep(arg1);
resultobj = SWIG_Py_Void();
return resultobj;
fail: