diff options
author | Sven Gothel <[email protected]> | 2011-09-23 13:32:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-23 13:32:18 +0200 |
commit | 0a54e4b8e2923d1c4eb5847a397906fb783a10d3 (patch) | |
tree | f9bcffe1f4c828b2871e1269e8aadb3c10982afd /src/native/common | |
parent | 9da5bc1fe999caa924bd8dceafeff93ddf9d16a0 (diff) |
Moved JVMUtil to private package; Invoke JVMUtil.initSingleton() from Platform static init after loading native library.
Diffstat (limited to 'src/native/common')
-rw-r--r-- | src/native/common/JVMUtil.c (renamed from src/native/common/JVM_Tool.c) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/native/common/JVM_Tool.c b/src/native/common/JVMUtil.c index 043ad8b..28ef209 100644 --- a/src/native/common/JVM_Tool.c +++ b/src/native/common/JVMUtil.c @@ -40,10 +40,10 @@ #include <stdio.h> //required by android to identify NULL #include <jni.h> -#include "com_jogamp_common_jvm_JVMUtil.h" +#include "jogamp_common_jvm_JVMUtil.h" JNIEXPORT jboolean JNICALL -Java_com_jogamp_common_jvm_JVMUtil_initialize(JNIEnv *env, jclass _unused, jobject nioBuffer) { +Java_jogamp_common_jvm_JVMUtil_initialize(JNIEnv *env, jclass _unused, jobject nioBuffer) { void * ptr = NULL; if (nioBuffer != NULL) { ptr = (void *) (*env)->GetDirectBufferAddress(env, nioBuffer); |