blob: 14f32b8a495e53158fc554e4e6f106d505741e73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "gl4java_utils_DirectBufferCleanup.h"
/*
* Class: hiperf_DirectBufferCleanup
* Method: getDirectBufferAddress
* Signature: (Ljava/nio/Buffer;)J
*/
JNIEXPORT jlong JNICALL Java_gl4java_utils_DirectBufferCleanup_getDirectBufferAddress
(JNIEnv *env, jclass unused, jobject buf)
{
return (jlong) (*env)->GetDirectBufferAddress(env, buf);
}
|