Added "getNativeLibraryVersion" for "*nix" based systems

This commit is contained in:
scream3r 2014-01-24 12:10:09 +03:00
parent 8533cbe3cf
commit 4cc733245b
1 changed files with 6 additions and 0 deletions

View File

@ -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 */
/*