mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-10 21:34:14 +00:00
swigall
This commit is contained in:
1 parent
48fab6f6db
commit
e634e538ac
7 files changed
+798
-3
No files matched your search
@@ -7941,14 +7941,84 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_CoreSession_getDigits__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||
int arg2 ;
|
||||
char *arg3 = (char *) 0 ;
|
||||
int arg4 ;
|
||||
int arg5 ;
|
||||
int arg6 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
int res3 ;
|
||||
char *buf3 = 0 ;
|
||||
int alloc3 = 0 ;
|
||||
int val4 ;
|
||||
int ecode4 = 0 ;
|
||||
int val5 ;
|
||||
int ecode5 = 0 ;
|
||||
int val6 ;
|
||||
int ecode6 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
PyObject * obj3 = 0 ;
|
||||
PyObject * obj4 = 0 ;
|
||||
PyObject * obj5 = 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:CoreSession_getDigits",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_getDigits" "', argument " "1"" of type '" "CoreSession *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< CoreSession * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CoreSession_getDigits" "', argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
|
||||
if (!SWIG_IsOK(res3)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_getDigits" "', argument " "3"" of type '" "char *""'");
|
||||
}
|
||||
arg3 = reinterpret_cast< char * >(buf3);
|
||||
ecode4 = SWIG_AsVal_int(obj3, &val4);
|
||||
if (!SWIG_IsOK(ecode4)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CoreSession_getDigits" "', argument " "4"" of type '" "int""'");
|
||||
}
|
||||
arg4 = static_cast< int >(val4);
|
||||
ecode5 = SWIG_AsVal_int(obj4, &val5);
|
||||
if (!SWIG_IsOK(ecode5)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "CoreSession_getDigits" "', argument " "5"" of type '" "int""'");
|
||||
}
|
||||
arg5 = static_cast< int >(val5);
|
||||
ecode6 = SWIG_AsVal_int(obj5, &val6);
|
||||
if (!SWIG_IsOK(ecode6)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "CoreSession_getDigits" "', argument " "6"" of type '" "int""'");
|
||||
}
|
||||
arg6 = static_cast< int >(val6);
|
||||
result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5,arg6);
|
||||
resultobj = SWIG_FromCharPtr((const char *)result);
|
||||
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
||||
return resultobj;
|
||||
fail:
|
||||
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_CoreSession_getDigits(PyObject *self, PyObject *args) {
|
||||
int argc;
|
||||
PyObject *argv[6];
|
||||
PyObject *argv[7];
|
||||
int ii;
|
||||
|
||||
if (!PyTuple_Check(args)) SWIG_fail;
|
||||
argc = args ? (int)PyObject_Length(args) : 0;
|
||||
for (ii = 0; (ii < 5) && (ii < argc); ii++) {
|
||||
for (ii = 0; (ii < 6) && (ii < argc); ii++) {
|
||||
argv[ii] = PyTuple_GET_ITEM(args,ii);
|
||||
}
|
||||
if (argc == 4) {
|
||||
@@ -8007,12 +8077,50 @@ SWIGINTERN PyObject *_wrap_CoreSession_getDigits(PyObject *self, PyObject *args)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (argc == 6) {
|
||||
int _v;
|
||||
void *vptr = 0;
|
||||
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CoreSession, 0);
|
||||
_v = SWIG_CheckState(res);
|
||||
if (_v) {
|
||||
{
|
||||
int res = SWIG_AsVal_int(argv[1], NULL);
|
||||
_v = SWIG_CheckState(res);
|
||||
}
|
||||
if (_v) {
|
||||
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
|
||||
_v = SWIG_CheckState(res);
|
||||
if (_v) {
|
||||
{
|
||||
int res = SWIG_AsVal_int(argv[3], NULL);
|
||||
_v = SWIG_CheckState(res);
|
||||
}
|
||||
if (_v) {
|
||||
{
|
||||
int res = SWIG_AsVal_int(argv[4], NULL);
|
||||
_v = SWIG_CheckState(res);
|
||||
}
|
||||
if (_v) {
|
||||
{
|
||||
int res = SWIG_AsVal_int(argv[5], NULL);
|
||||
_v = SWIG_CheckState(res);
|
||||
}
|
||||
if (_v) {
|
||||
return _wrap_CoreSession_getDigits__SWIG_2(self, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fail:
|
||||
SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'CoreSession_getDigits'.\n"
|
||||
" Possible C/C++ prototypes are:\n"
|
||||
" CoreSession::getDigits(int,char *,int)\n"
|
||||
" CoreSession::getDigits(int,char *,int,int)\n");
|
||||
" CoreSession::getDigits(int,char *,int,int)\n"
|
||||
" CoreSession::getDigits(int,char *,int,int,int)\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user