This commit is contained in:
Anthony Minessale
2013-01-29 09:34:27 -06:00
parent 1e22ba2ba5
commit 25a992bc27
10 changed files with 441 additions and 16 deletions
@@ -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 ;