git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14159 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-07-08 16:35:22 +00:00
parent b75a25ee5f
commit b76bb2d5a3
22 changed files with 160 additions and 128 deletions
+1 -1
View File
@@ -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);
}
}