Added "getNativeLibraryVersion" for "*nix" based systems
This commit is contained in:
parent
8533cbe3cf
commit
4cc733245b
|
@ -48,6 +48,12 @@
|
|||
|
||||
//#include <iostream> //-lCstd use for Solaris linker
|
||||
|
||||
/*
|
||||
* Get native library version
|
||||
*/
|
||||
JNIEXPORT jstring JNICALL Java_jssc_SerialNativeInterface_getNativeLibraryVersion(JNIEnv *env, jobject object) {
|
||||
return env->NewStringUTF(jSSC_NATIVE_LIB_VERSION);
|
||||
}
|
||||
|
||||
/* OK */
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue