added a JniCache objectet for caching jclass, jmethodID, and jfieldID objects
This commit is contained in:
parent
9f2732d661
commit
079d248eab
6 changed files with 331 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue