aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/alcbind.c
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-07-08 21:14:25 +0000
committerathomas <[email protected]>2003-07-08 21:14:25 +0000
commitce70965ea04ae7d8bebd6aa44d872219670235c5 (patch)
tree1e20eea235ccdbe4ef3529dc922e1471a5d5d167 /src/native/alcbind.c
parent4805d819e5b99ed2dd5ca4c7be757900c4d6b429 (diff)
added support for compiling under Linux
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@46 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'src/native/alcbind.c')
-rw-r--r--src/native/alcbind.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/native/alcbind.c b/src/native/alcbind.c
index e9a64a8..5933810 100644
--- a/src/native/alcbind.c
+++ b/src/native/alcbind.c
@@ -35,6 +35,11 @@
#include "alcbind.h"
#include "extal.h"
+JNIEXPORT jint JNICALL Java_net_java_games_joal_ALCImpl_alcGetErrorNative
+ (JNIEnv *env, jobject obj, jint pointer) {
+ return alcGetError((ALCdevice*)pointer);
+}
+
JNIEXPORT jint JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative
(JNIEnv *env, jobject obj, jstring deviceName) {