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
+3 -3
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;