mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-12 15:21:50 +00:00
swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
%}
|
||||
|
||||
%ignore SwitchToMempool;
|
||||
|
||||
%newobject EventConsumer::pop;
|
||||
|
||||
|
||||
// I thought we were using swig because it's easier than the alternatives :-)
|
||||
|
||||
@@ -93,12 +93,12 @@ public class EventConsumer {
|
||||
|
||||
public Event pop(int block) {
|
||||
long cPtr = freeswitchJNI.EventConsumer_pop__SWIG_0(swigCPtr, this, block);
|
||||
return (cPtr == 0) ? null : new Event(cPtr, false);
|
||||
return (cPtr == 0) ? null : new Event(cPtr, true);
|
||||
}
|
||||
|
||||
public Event pop() {
|
||||
long cPtr = freeswitchJNI.EventConsumer_pop__SWIG_1(swigCPtr, this);
|
||||
return (cPtr == 0) ? null : new Event(cPtr, false);
|
||||
return (cPtr == 0) ? null : new Event(cPtr, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user