support for system specific error numbers

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@253 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
spandi
2007-08-11 15:02:40 +00:00
parent 8dc3f8c515
commit 2a13255fd0
5 changed files with 109 additions and 8 deletions

View File

@@ -191,6 +191,14 @@ JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1interrupt_1read
JNIEXPORT jstring JNICALL Java_ch_ntb_usb_LibusbJava_usb_1strerror
(JNIEnv *, jclass);
/*
* Class: ch_ntb_usb_LibusbJava
* Method: usb_error_no
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_ch_ntb_usb_LibusbJava_usb_1error_1no
(JNIEnv *, jclass, jint);
#ifdef __cplusplus
}
#endif