From 22262166e07de99ae0d4557e4f87e3bd1c5cd6dd Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Wed, 31 Mar 2010 21:12:09 +0200 Subject: introduced com.jogamp.common.{nio,os} packages and moved some classes. --- src/native/common/Platform.c | 2 +- src/native/common/PointerBuffer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/native/common') 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 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 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 ; } -- cgit v1.2.3