mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-08 13:21:51 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
%cstring_bounded_mutable(char *dtmf_buf, 128);
|
||||
%cstring_bounded_mutable(char *terminator, 8);
|
||||
|
||||
%newobject EventConsumer::pop;
|
||||
|
||||
/** insert the following includes into generated code so it compiles */
|
||||
%{
|
||||
|
||||
@@ -5469,10 +5469,8 @@ SWIGINTERN PyObject *_wrap_EventConsumer_pop__SWIG_0(PyObject *SWIGUNUSEDPARM(se
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "EventConsumer_pop" "', argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
result = (Event *)(arg1)->pop(arg2);
|
||||
Py_END_ALLOW_THREADS;
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, 0 | 0 );
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, SWIG_POINTER_OWN | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
@@ -5493,10 +5491,8 @@ SWIGINTERN PyObject *_wrap_EventConsumer_pop__SWIG_1(PyObject *SWIGUNUSEDPARM(se
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EventConsumer_pop" "', argument " "1"" of type '" "EventConsumer *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< EventConsumer * >(argp1);
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
result = (Event *)(arg1)->pop();
|
||||
Py_END_ALLOW_THREADS;
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, 0 | 0 );
|
||||
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Event, SWIG_POINTER_OWN | 0 );
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user