aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/alcbind.h
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-11-23 01:39:59 +0000
committerathomas <[email protected]>2003-11-23 01:39:59 +0000
commit958b4a62bbfa639ad27756037049c9db3e7d3bf2 (patch)
treefc2bc580070c584a799c32e4509980e99309fb64 /src/native/alcbind.h
parentebe0f9a9ea29dd09332cafe65286f563bb08f6d6 (diff)
Several changes, uses newest lwjgl extal, throws exceptions from native code if AL doesn't load correctly and creates Context and Device objects in Native code.
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@69 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'src/native/alcbind.h')
-rw-r--r--src/native/alcbind.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/native/alcbind.h b/src/native/alcbind.h
index f4a6212..911940b 100644
--- a/src/native/alcbind.h
+++ b/src/native/alcbind.h
@@ -43,8 +43,17 @@ extern "C" {
* Method: openDeviceNative
* Signature: (Ljava/lang/String;)I
*/
+ /*
JNIEXPORT jint JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative
(JNIEnv *, jobject, jstring);
+*/
+/*
+ * Class: net_java_games_joal_ALCImpl
+ * Method: openDeviceNative
+ * Signature: (Ljava/lang/String;)I
+ */
+JNIEXPORT jobject JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative
+ (JNIEnv *, jobject, jstring);
/*
* Class: net_java_games_joal_ALCImpl
@@ -59,9 +68,12 @@ JNIEXPORT void JNICALL Java_net_java_games_joal_ALCImpl_closeDeviceNative
* Method: createContextNative
* Signature: (I[I)I
*/
+/*
JNIEXPORT jint JNICALL Java_net_java_games_joal_ALCImpl_createContextNative
(JNIEnv *, jobject, jint, jintArray);
-
+*/
+JNIEXPORT jobject JNICALL Java_net_java_games_joal_ALCImpl_createContextNative
+ (JNIEnv *, jobject, jint, jintArray);
/*
* Class: net_java_games_joal_ALCImpl
* Method: makeContextCurrentNative