From 3c9d9db8a348eca768042140516979d32a75bffa Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 7 Jun 2011 23:39:20 +0200 Subject: Fix C / JNI compilation: Add/use javah, recompile if out of date, --- src/native/common/JVM_Tool.c | 2 ++ src/native/common/PointerBuffer.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/native/common') diff --git a/src/native/common/JVM_Tool.c b/src/native/common/JVM_Tool.c index cb08b47..bd6d340 100644 --- a/src/native/common/JVM_Tool.c +++ b/src/native/common/JVM_Tool.c @@ -39,6 +39,8 @@ #include +#include "com_jogamp_common_jvm_JVMUtil.h" + JNIEXPORT jboolean JNICALL Java_com_jogamp_common_jvm_JVMUtil_initialize(JNIEnv *env, jclass _unused, jobject nioBuffer) { int res; diff --git a/src/native/common/PointerBuffer.c b/src/native/common/PointerBuffer.c index 05e003b..a7b8cb0 100644 --- a/src/native/common/PointerBuffer.c +++ b/src/native/common/PointerBuffer.c @@ -3,6 +3,8 @@ #include +#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) (*env)->GetDirectBufferAddress(env, directBuffer) : 0L ; -- cgit v1.2.3