diff options
author | Michael Bien <[email protected]> | 2010-03-31 21:12:09 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-31 21:12:09 +0200 |
commit | 22262166e07de99ae0d4557e4f87e3bd1c5cd6dd (patch) | |
tree | 1fd14a422efe1aac215e65faaa89b7e4d7bd1ff1 /src/native/common | |
parent | c5068e42758aeecbd0a3fbf4c2e2b755661e950e (diff) |
introduced com.jogamp.common.{nio,os} packages and moved some classes.
Diffstat (limited to 'src/native/common')
-rw-r--r-- | src/native/common/Platform.c | 2 | ||||
-rw-r--r-- | src/native/common/PointerBuffer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/native/common/Platform.c b/src/native/common/Platform.c index 0cc7adc..f0e4e11 100644 --- a/src/native/common/Platform.c +++ b/src/native/common/Platform.c @@ -4,7 +4,7 @@ #include <assert.h> JNIEXPORT jint JNICALL -Java_com_jogamp_gluegen_runtime_Platform_getPointerSizeInBitsImpl(JNIEnv *env, jclass _unused) { +Java_com_jogamp_common_os_Platform_getPointerSizeInBitsImpl(JNIEnv *env, jclass _unused) { return sizeof(void *) * 8; } diff --git a/src/native/common/PointerBuffer.c b/src/native/common/PointerBuffer.c index 9736edc..05e003b 100644 --- a/src/native/common/PointerBuffer.c +++ b/src/native/common/PointerBuffer.c @@ -4,7 +4,7 @@ #include <assert.h> JNIEXPORT jlong JNICALL -Java_com_jogamp_gluegen_runtime_PointerBuffer_getDirectBufferAddressImpl(JNIEnv *env, jclass _unused, jobject directBuffer) { +Java_com_jogamp_common_nio_PointerBuffer_getDirectBufferAddressImpl(JNIEnv *env, jclass _unused, jobject directBuffer) { return ( NULL != directBuffer ) ? ( jlong) (*env)->GetDirectBufferAddress(env, directBuffer) : 0L ; } |