- 1
- 0
- 约2.17千字
- 约 2页
- 2024-04-01 发布于北京
- 举报
JNIEnv调用函数原理
jni.h文件中
typedefconststructJNINativeInterface_*JNIEnv;
typedefconststructJNINativeInterface_*JNIEnv;
structJNINativeInterface_
{
jstring(JNICALL*NewStringUTF)(JNIEnv*env,constchar*utf);
constchar*(JNICALL*GetStringUTFChars)(JNIEnv*env,jstringstr,jboolean*isCopy);
void(JNICALL*ReleaseStringUTFChars)(JNIEnv*env,jstringstr,constchar*chars);
jsize(JNICALL*GetStringLength)(JNIEnv*env
原创力文档

文档评论(0)