aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/common/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/common/Platform.c')
-rw-r--r--src/native/common/Platform.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/native/common/Platform.c b/src/native/common/Platform.c
new file mode 100644
index 0000000..0cc7adc
--- /dev/null
+++ b/src/native/common/Platform.c
@@ -0,0 +1,10 @@
+
+#include <jni.h>
+
+#include <assert.h>
+
+JNIEXPORT jint JNICALL
+Java_com_jogamp_gluegen_runtime_Platform_getPointerSizeInBitsImpl(JNIEnv *env, jclass _unused) {
+ return sizeof(void *) * 8;
+}
+