This is the mail archive of the java@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]

jni.h compatibility


I've found that some JNI code uses JNIEXPORT and JNICALL macros.  I
think we need to add these to our jni.h for compatibility.

For Unix platforms this isn't a problem; they can just be defined as
empty.  For Windows, though, I think they might need a real
definition.  Adam, do you know how they should be defined?

They are used like this:

    JNIEXPORT jint JNICALL foo (...);

Tom


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