选修课初探jnienv课件.pdfVIP

  • 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)

1亿VIP精品文档

相关文档