首页 文章
  • 0 votes
     answers
     views

    将Java类对象映射到JNI C结构

    我在java中有一个类,我需要将此类的对象作为参数传递给JNI,并且还能够从jni中返回值作为java中类的Object 例如: test.java class Student { int a; long b[]; } jni.c Student Struct { int a; long *b; }student;` JNIEXPORT jint Java_Test...

热门问题