[Sablevm-bugs] [ sablevm-Bugs-981658 ] jni.h should use JNIIMPORT, not JNIEXPORT
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2004-06-28 23:53:16
|
Bugs item #981658, was opened at 2004-06-28 23:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=981658&group_id=5523 Category: Other Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tom Schutter (tschutter) Assigned to: Nobody/Anonymous (nobody) Summary: jni.h should use JNIIMPORT, not JNIEXPORT Initial Comment: In jni.h, the prototypes for functions such as JNI_CreateJavaVM() should be using JNIIMPORT, not JNIEXPORT. Although JNIEXPORT is an empty define on Linux, on platforms such as Windows it is defined. If an app needs to define a function pointer type for JNI_CreateJavaVM(), it needs the JNIIMPORT variant, not the JNIEXPORT variant. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=981658&group_id=5523 |