diff options
author | Grant Limberg <glimberg@gmail.com> | 2015-05-02 11:20:21 -0700 |
---|---|---|
committer | Grant Limberg <glimberg@gmail.com> | 2015-05-02 12:05:02 -0700 |
commit | 079d248eabac5f6b09f46ea174dd5fa362971a3c (patch) | |
tree | 1d52b3fcbf8bfd47246d467d2fcac0f771e61f78 /java/jni/ZT1_jniutils.cpp | |
parent | 9f2732d661439b7bf4fc4c5ddf352ad2de8182fd (diff) | |
download | infinitytier-079d248eabac5f6b09f46ea174dd5fa362971a3c.tar.gz infinitytier-079d248eabac5f6b09f46ea174dd5fa362971a3c.zip |
added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects
Diffstat (limited to 'java/jni/ZT1_jniutils.cpp')
-rw-r--r-- | java/jni/ZT1_jniutils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/jni/ZT1_jniutils.cpp b/java/jni/ZT1_jniutils.cpp index 4d6cee03..a04b7c10 100644 --- a/java/jni/ZT1_jniutils.cpp +++ b/java/jni/ZT1_jniutils.cpp @@ -1,4 +1,5 @@ #include "ZT1_jniutils.h" +#include "ZT1_jnicache.h" #include <string> #include <assert.h> @@ -6,6 +7,8 @@ extern "C" { #endif +extern JniCache cache; + jobject createResultObject(JNIEnv *env, ZT1_ResultCode code) { jclass resultClass = NULL; |