support for version

beta2 tag
This commit is contained in:
Brian Matzon 2006-07-02 21:59:10 +00:00
parent 06e4daaa75
commit e676edc5c0

View file

@ -8,6 +8,17 @@
static void* devILhandle;
#endif
static const char* VERSION = "1.0beta2";
/*
* Class: org_lwjgl_devil_ILNative
* Method: getNativeLibraryVersion
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_lwjgl_devil_ILNative_getNativeLibraryVersion(JNIEnv *env, jclass clazz) {
return NewStringNative(env, VERSION);
}
/**
* Retrieves a function pointer from the devil library
* @param function Name of function to retrieve