added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user