summaryrefslogtreecommitdiffstats
path: root/src/native/alfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/alfactory.c')
-rw-r--r--src/native/alfactory.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/native/alfactory.c b/src/native/alfactory.c
index d989580..a497c0c 100644
--- a/src/native/alfactory.c
+++ b/src/native/alfactory.c
@@ -33,15 +33,14 @@
#include "alfactory.h"
#include "extal.h"
-#include <jni.h>
+#include "jni.h"
JNIEXPORT jboolean JNICALL Java_net_java_games_joal_ALFactory_init
(JNIEnv *env , jclass clazz, jobjectArray oalPaths) {
printf("ALFactory.init - Native: Enter\n");
- jboolean result = InitializeOpenAL(env,oalPaths);
- printf("ALFactory.init - Native: Test 1 result = %i\n",result);
+ InitializeOpenAL(env,oalPaths);
printf("ALFactory.init - Native: Exit\n");
- return result;
+ return 1;
}
JNIEXPORT jboolean JNICALL Java_net_java_games_joal_ALFactory_deinitialize