aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/alcbind.c
diff options
context:
space:
mode:
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) {