mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-12 14:24:13 +00:00
FS-6061 swigall
This commit is contained in:
1 parent
1af72288d1
commit
b63bacf43f
7 files changed
+10
-8
No files matched your search
@@ -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