]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/include/jorte/onLoad.h
JORTE: add type casts
[orte.git] / orte / include / jorte / onLoad.h
index 76802393dff89d52c36631b62f0c92f4b663f597..77524db1e6caf99e0bc79b43a3b830082b992deb 100644 (file)
@@ -1,8 +1,14 @@
+#include <jni.h>
+
 #ifndef IncludedOnLoad
 #define IncludedOnLoad
-
-#include <jni.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 jclass findClass(JNIEnv *env, const char* name);
 
+#ifdef __cplusplus
+}
+#endif
 #endif