diff options
Diffstat (limited to 'src/native/common/PointerBuffer.c')
-rw-r--r-- | src/native/common/PointerBuffer.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/native/common/PointerBuffer.c b/src/native/common/PointerBuffer.c deleted file mode 100644 index f3e25d3..0000000 --- a/src/native/common/PointerBuffer.c +++ /dev/null @@ -1,14 +0,0 @@ - -#include <jni.h> - -#include <assert.h> - -#include <gluegen_stdint.h> - -#include "com_jogamp_common_nio_PointerBuffer.h" - -JNIEXPORT jlong JNICALL -Java_com_jogamp_common_nio_PointerBuffer_getDirectBufferAddressImpl(JNIEnv *env, jclass _unused, jobject directBuffer) { - return ( NULL != directBuffer ) ? (jlong) (intptr_t) (*env)->GetDirectBufferAddress(env, directBuffer) : 0L ; -} - |