Error on translate double pointer on struct
Anivie opened this issue · 0 comments
Anivie commented
Origin code:
struct JNIInvokeInterface_ {
void *reserved0;
void *reserved1;
void *reserved2;
jint (JNICALL *DestroyJavaVM)(JavaVM *vm);
jint (JNICALL *AttachCurrentThread)(JavaVM *vm, void **penv, void *args);
jint (JNICALL *DetachCurrentThread)(JavaVM *vm);
jint (JNICALL *GetEnv)(JavaVM *vm, void **penv, jint version);
jint (JNICALL *AttachCurrentThreadAsDaemon)(JavaVM *vm, void **penv, void *args);
};
Translated by C2V:
struct JNIInvokeInterface_ {
reserved0 voidptr
reserved1 voidptr
reserved2 voidptr
DestroyJavaVM fn (&JavaVM) Jint
AttachCurrentThread fn (&JavaVM, &Voidptr*, voidptr) Jint
DetachCurrentThread fn (&JavaVM) Jint
GetEnv fn (&JavaVM, &Voidptr*, Jint) Jint
AttachCurrentThreadAsDaemon fn (&JavaVM, &Voidptr*, voidptr) Jint
}
You can find this file in there.