git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15000 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-09-28 02:52:25 +00:00
parent c38257949a
commit 579343d65d
6 changed files with 355 additions and 8 deletions
+88 -1
View File
@@ -5839,7 +5839,7 @@ fail:
}
static int _wrap_CoreSession_collectDigits(lua_State* L) {
static int _wrap_CoreSession_collectDigits__SWIG_0(lua_State* L) {
int SWIG_arg = -1;
CoreSession *arg1 = (CoreSession *) 0 ;
int arg2 ;
@@ -5867,6 +5867,93 @@ fail:
}
static int _wrap_CoreSession_collectDigits__SWIG_1(lua_State* L) {
int SWIG_arg = -1;
CoreSession *arg1 = (CoreSession *) 0 ;
int arg2 ;
int arg3 ;
int result;
SWIG_check_num_args("collectDigits",3,3)
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("collectDigits",1,"CoreSession *");
if(!lua_isnumber(L,2)) SWIG_fail_arg("collectDigits",2,"int");
if(!lua_isnumber(L,3)) SWIG_fail_arg("collectDigits",3,"int");
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
SWIG_fail_ptr("CoreSession_collectDigits",1,SWIGTYPE_p_CoreSession);
}
arg2 = (int)lua_tonumber(L, 2);
arg3 = (int)lua_tonumber(L, 3);
result = (int)(arg1)->collectDigits(arg2,arg3);
SWIG_arg=0;
lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
return SWIG_arg;
if(0) SWIG_fail;
fail:
lua_error(L);
return SWIG_arg;
}
static int _wrap_CoreSession_collectDigits(lua_State* L) {
int argc;
int argv[4]={
1,2,3,4
};
argc = lua_gettop(L);
if (argc == 2) {
int _v;
{
void *ptr;
if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_CoreSession, 0)) {
_v = 0;
} else {
_v = 1;
}
}
if (_v) {
{
_v = lua_isnumber(L,argv[1]);
}
if (_v) {
return _wrap_CoreSession_collectDigits__SWIG_0(L);
}
}
}
if (argc == 3) {
int _v;
{
void *ptr;
if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_CoreSession, 0)) {
_v = 0;
} else {
_v = 1;
}
}
if (_v) {
{
_v = lua_isnumber(L,argv[1]);
}
if (_v) {
{
_v = lua_isnumber(L,argv[2]);
}
if (_v) {
return _wrap_CoreSession_collectDigits__SWIG_1(L);
}
}
}
}
lua_pushstring(L,"No matching function for overloaded 'CoreSession_collectDigits'");
lua_error(L);return 0;
}
static int _wrap_CoreSession_getDigits__SWIG_0(lua_State* L) {
int SWIG_arg = -1;
CoreSession *arg1 = (CoreSession *) 0 ;