Commit 5b61e7a2 authored by Larry Sachs's avatar Larry Sachs Committed by Rick Bell

Revert last change removing inline jni_obt_init()

This change to bring back the previous code is necessary for a call
to GetJavaVM() to be generated in Java_org_iotivity_OCObtJNI_init()
in oc_obt_wrap.c

Change-Id: Ibc87595ae3b68dbf2a2c5411600b2d1dc5c0b304
Signed-off-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/29407Tested-by: default avatarIoTivity Jenkins <jenkins-daemon@iotivity.org>
Reviewed-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
Reviewed-by: default avatarRick Bell <richard.s.bell@intel.com>
parent 88ddcd3c
......@@ -30,7 +30,13 @@
JCALL1(GetJavaVM, jenv, &jvm);
}
%rename(init) oc_obt_init;
%ignore oc_obt_init;
%rename(init) jni_obt_init;
%inline %{
void jni_obt_init(void* dummy) {
oc_obt_init();
}
%}
%rename(shutdown) oc_obt_shutdown;
/* code and typemaps for mapping the oc_obt_discover_cb to the java OCObtDiscoveryHandler */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment