mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
reswig
This commit is contained in:
@@ -104,4 +104,8 @@ public class EventConsumer {
|
||||
return (cPtr == 0) ? null : new Event(cPtr, true);
|
||||
}
|
||||
|
||||
public void cleanup() {
|
||||
freeswitchJNI.EventConsumer_cleanup(swigCPtr, this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@ class freeswitchJNI {
|
||||
public final static native void delete_EventConsumer(long jarg1);
|
||||
public final static native int EventConsumer_bind(long jarg1, EventConsumer jarg1_, String jarg2, String jarg3);
|
||||
public final static native long EventConsumer_pop(long jarg1, EventConsumer jarg1_, int jarg2, int jarg3);
|
||||
public final static native void EventConsumer_cleanup(long jarg1, EventConsumer jarg1_);
|
||||
public final static native void delete_CoreSession(long jarg1);
|
||||
public final static native void CoreSession_session_set(long jarg1, CoreSession jarg1_, long jarg2);
|
||||
public final static native long CoreSession_session_get(long jarg1, CoreSession jarg1_);
|
||||
|
||||
@@ -1687,6 +1687,17 @@ SWIGEXPORT jlong JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1p
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_EventConsumer_1cleanup(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
|
||||
EventConsumer *arg1 = (EventConsumer *) 0 ;
|
||||
|
||||
(void)jenv;
|
||||
(void)jcls;
|
||||
(void)jarg1_;
|
||||
arg1 = *(EventConsumer **)&jarg1;
|
||||
(arg1)->cleanup();
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_delete_1CoreSession(JNIEnv *jenv, jclass jcls, jlong jarg1) {
|
||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user