From 5f2dca72b3a537a5eae5a9de1ca8887fa03b5692 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Jul 2013 18:49:27 -0500 Subject: [PATCH] swigall --- src/mod/languages/mod_lua/mod_lua_wrap.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/mod/languages/mod_lua/mod_lua_wrap.cpp b/src/mod/languages/mod_lua/mod_lua_wrap.cpp index e882607adc..130eab949a 100644 --- a/src/mod/languages/mod_lua/mod_lua_wrap.cpp +++ b/src/mod/languages/mod_lua/mod_lua_wrap.cpp @@ -1706,15 +1706,16 @@ static int _wrap_new_IVRMenu(lua_State* L) { char *arg8 = (char *) 0 ; char *arg9 = (char *) 0 ; char *arg10 = (char *) 0 ; - int arg11 ; + char *arg11 = (char *) 0 ; int arg12 ; int arg13 ; int arg14 ; int arg15 ; int arg16 ; + int arg17 ; IVRMenu *result = 0 ; - SWIG_check_num_args("IVRMenu",16,16) + SWIG_check_num_args("IVRMenu",17,17) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("IVRMenu",1,"IVRMenu *"); if(!lua_isstring(L,2)) SWIG_fail_arg("IVRMenu",2,"char const *"); if(!lua_isstring(L,3)) SWIG_fail_arg("IVRMenu",3,"char const *"); @@ -1725,12 +1726,13 @@ static int _wrap_new_IVRMenu(lua_State* L) { if(!lua_isstring(L,8)) SWIG_fail_arg("IVRMenu",8,"char const *"); if(!lua_isstring(L,9)) SWIG_fail_arg("IVRMenu",9,"char const *"); if(!lua_isstring(L,10)) SWIG_fail_arg("IVRMenu",10,"char const *"); - if(!lua_isnumber(L,11)) SWIG_fail_arg("IVRMenu",11,"int"); + if(!lua_isstring(L,11)) SWIG_fail_arg("IVRMenu",11,"char const *"); if(!lua_isnumber(L,12)) SWIG_fail_arg("IVRMenu",12,"int"); if(!lua_isnumber(L,13)) SWIG_fail_arg("IVRMenu",13,"int"); if(!lua_isnumber(L,14)) SWIG_fail_arg("IVRMenu",14,"int"); if(!lua_isnumber(L,15)) SWIG_fail_arg("IVRMenu",15,"int"); if(!lua_isnumber(L,16)) SWIG_fail_arg("IVRMenu",16,"int"); + if(!lua_isnumber(L,17)) SWIG_fail_arg("IVRMenu",17,"int"); if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_IVRMenu,0))){ SWIG_fail_ptr("new_IVRMenu",1,SWIGTYPE_p_IVRMenu); @@ -1745,13 +1747,14 @@ static int _wrap_new_IVRMenu(lua_State* L) { arg8 = (char *)lua_tostring(L, 8); arg9 = (char *)lua_tostring(L, 9); arg10 = (char *)lua_tostring(L, 10); - arg11 = (int)lua_tonumber(L, 11); + arg11 = (char *)lua_tostring(L, 11); arg12 = (int)lua_tonumber(L, 12); arg13 = (int)lua_tonumber(L, 13); arg14 = (int)lua_tonumber(L, 14); arg15 = (int)lua_tonumber(L, 15); arg16 = (int)lua_tonumber(L, 16); - result = (IVRMenu *)new IVRMenu(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,arg11,arg12,arg13,arg14,arg15,arg16); + arg17 = (int)lua_tonumber(L, 17); + result = (IVRMenu *)new IVRMenu(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,arg12,arg13,arg14,arg15,arg16,arg17); SWIG_arg=0; SWIG_NewPointerObj(L,result,SWIGTYPE_p_IVRMenu,1); SWIG_arg++; return SWIG_arg;