This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.



------- Comment #7 from bcmpinc at hotmail dot com  2006-07-06 12:37 -------

extern JNIEXPORT void JNICALL Java_JavaSide_sayHello (JNIEnv *env, jobject);

After preprossesing this becomes:

__attribute__((dllexport)) void __attribute__((__stdcall__))
Java_sample_myNative
  (JNIEnv *, jobject, jstring);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28153


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]