mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-6061 swigall
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
%}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Lua function typemap */
|
||||
%typemap(in, checkfn = "lua_isfunction") SWIGLUA_FN {
|
||||
$1.L = L;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user