Compare commits
1 commit
93d1c3fd38
...
c7281880c2
Author | SHA1 | Date | |
---|---|---|---|
c7281880c2 |
2 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
|||
interface_wrapper_init();
|
||||
lpac_convertor_init(env);
|
||||
lpac_download_init();
|
||||
lpac_profile_init(env);
|
||||
|
||||
string_class = (*env)->FindClass(env, "java/lang/String");
|
||||
string_class = (*env)->NewGlobalRef(env, string_class);
|
||||
|
@ -40,6 +41,9 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
|||
return JNI_VERSION_1_6;
|
||||
}
|
||||
|
||||
void lpac_profile_init(JNIEnv *env) {
|
||||
}
|
||||
|
||||
JNIEXPORT jlong JNICALL
|
||||
Java_net_typeblog_lpac_1jni_LpacJni_createContext(JNIEnv *env, jobject thiz,
|
||||
jbyteArray isdr_aid,
|
||||
|
|
|
@ -23,6 +23,8 @@ extern jclass string_class;
|
|||
|
||||
jstring toJString(JNIEnv *env, const char *pat);
|
||||
|
||||
void lpac_profile_init(JNIEnv *env);
|
||||
|
||||
#define LPAC_JNI_STRUCT_GETTER_LINKED_LIST_NEXT(st, st_jname) \
|
||||
JNIEXPORT jlong JNICALL Java_net_typeblog_lpac_1jni_LpacJni_##st_jname##Next(JNIEnv *env, jobject thiz, jlong raw) { \
|
||||
st *p = (st *) raw; \
|
||||
|
|
Loading…
Add table
Reference in a new issue