2015-06-16 12:58:24 -05:00
|
|
|
--- mod_python_wrap.cpp.old 2015-06-16 12:56:23.868000000 -0500
|
|
|
|
+++ mod_python_wrap.cpp 2015-06-16 12:56:32.268000000 -0500
|
|
|
|
@@ -6198,7 +6198,9 @@
|
2013-12-23 23:24:13 +05:00
|
|
|
}
|
|
|
|
arg3 = static_cast< int >(val3);
|
2009-03-31 13:08:43 +00:00
|
|
|
}
|
|
|
|
+ Py_BEGIN_ALLOW_THREADS;
|
2013-12-23 23:24:13 +05:00
|
|
|
result = (Event *)(arg1)->pop(arg2,arg3);
|
2009-03-31 13:08:43 +00:00
|
|
|
+ Py_END_ALLOW_THREADS;
|
2010-02-06 07:50:29 +00:00
|
|
|
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, SWIG_POINTER_OWN | 0 );
|
2009-03-31 13:08:43 +00:00
|
|
|
return resultobj;
|
|
|
|
fail:
|
2015-06-16 12:58:24 -05:00
|
|
|
@@ -9264,20 +9266,20 @@
|
2008-07-11 19:42:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-SWIGINTERN PyObject *_wrap_new_Session__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
+SWIGINTERN PyObject *_wrap_new_Session__SWIG_0(PyObject *self, PyObject *args) {
|
|
|
|
PyObject *resultobj = 0;
|
|
|
|
PYTHON::Session *result = 0 ;
|
|
|
|
|
|
|
|
if (!PyArg_ParseTuple(args,(char *)":new_Session")) SWIG_fail;
|
|
|
|
result = (PYTHON::Session *)new PYTHON::Session();
|
|
|
|
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 );
|
|
|
|
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 ); result->setPython(self);
|
|
|
|
return resultobj;
|
|
|
|
fail:
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-SWIGINTERN PyObject *_wrap_new_Session__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
+SWIGINTERN PyObject *_wrap_new_Session__SWIG_1(PyObject *self, PyObject *args) {
|
2008-07-16 21:06:14 +00:00
|
|
|
PyObject *resultobj = 0;
|
|
|
|
char *arg1 = (char *) 0 ;
|
|
|
|
CoreSession *arg2 = (CoreSession *) 0 ;
|
2015-06-16 12:58:24 -05:00
|
|
|
@@ -9302,7 +9304,7 @@
|
2008-07-16 21:06:14 +00:00
|
|
|
}
|
|
|
|
arg2 = reinterpret_cast< CoreSession * >(argp2);
|
|
|
|
result = (PYTHON::Session *)new PYTHON::Session(arg1,arg2);
|
|
|
|
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 );
|
|
|
|
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 ); result->setPython(self);
|
|
|
|
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
|
|
|
return resultobj;
|
|
|
|
fail:
|
2015-06-16 12:58:24 -05:00
|
|
|
@@ -9311,7 +9313,7 @@
|
2008-07-16 21:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-SWIGINTERN PyObject *_wrap_new_Session__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
+SWIGINTERN PyObject *_wrap_new_Session__SWIG_2(PyObject *self, PyObject *args) {
|
2008-07-11 19:42:52 +00:00
|
|
|
PyObject *resultobj = 0;
|
|
|
|
char *arg1 = (char *) 0 ;
|
2015-06-16 12:58:24 -05:00
|
|
|
int res1 ;
|
|
|
|
@@ -9327,7 +9329,7 @@
|
2008-07-11 19:42:52 +00:00
|
|
|
}
|
|
|
|
arg1 = reinterpret_cast< char * >(buf1);
|
|
|
|
result = (PYTHON::Session *)new PYTHON::Session(arg1);
|
|
|
|
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 );
|
|
|
|
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 ); result->setPython(self);
|
|
|
|
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
|
|
|
return resultobj;
|
|
|
|
fail:
|
2015-06-16 12:58:24 -05:00
|
|
|
@@ -9336,7 +9338,7 @@
|
2008-07-11 19:42:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-07-16 21:06:14 +00:00
|
|
|
-SWIGINTERN PyObject *_wrap_new_Session__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
|
|
|
+SWIGINTERN PyObject *_wrap_new_Session__SWIG_3(PyObject *self, PyObject *args) {
|
2008-07-11 19:42:52 +00:00
|
|
|
PyObject *resultobj = 0;
|
|
|
|
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
|
2015-06-16 12:58:24 -05:00
|
|
|
void *argp1 = 0 ;
|
|
|
|
@@ -9351,7 +9353,7 @@
|
2008-07-11 19:42:52 +00:00
|
|
|
}
|
|
|
|
arg1 = reinterpret_cast< switch_core_session_t * >(argp1);
|
|
|
|
result = (PYTHON::Session *)new PYTHON::Session(arg1);
|
|
|
|
- resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 );
|
|
|
|
+ resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_PYTHON__Session, SWIG_POINTER_NEW | 0 ); result->setPython(self);
|
|
|
|
return resultobj;
|
|
|
|
fail:
|
|
|
|
return NULL;
|