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
*
(void)jenv;
(void)jcls;
arg1 = (unsigned int)jarg1;
- msleep(arg1);
+ switch_msleep(arg1);
}
%}
+
+
/* Lua function typemap */
%typemap(in, checkfn = "lua_isfunction") SWIGLUA_FN {
$1.L = 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;
unsigned int arg1 ;
arg1 = (unsigned int)jarg1;
- msleep(arg1);
+ switch_msleep(arg1);
}
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);
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: