JNIEXPORT void JNICALL Java_testdll_set(JNIEnv *, jclass, jint j) //i = j;
例如程序testdll.java,内容为:publicclasstestdll{static{System.loadLibrary("goodluck");}publicnativestaticintget();publicnativestaticvoidset(inti);publicstaticvoidmain(String[]args){testdlltest=newtestdll();te