Marking JNI funtions extern
Mark Wielaard
mark@klomp.org
Fri May 21 13:52:00 GMT 2004
Hi,
On Fri, 2004-05-21 at 12:58, Andrew Haley wrote:
> Mark Wielaard writes:
> > 2004-05-21 Mark Wielaard <mark@klomp.org>
> >
> > * gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not
> > extern.
> >
> > The extern function modifiers were confusing the kaffe build process.
>
> OK,
Thanks. Committed.
> but I'm curious. In what way was this confusing the Kaffe build process?
In certain cases they define JNIEXPORT as "extern" and "extern extern"
isn't valid. I actually think they should not define JNIEXPORT as
"extern" though, so next up is convincing them to fix their jni.h (or
adopt the libgcj/GNU Classpath one of course).
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040521/79166c4f/attachment.sig>
More information about the Java
mailing list