Marking JNI funtions extern
Andrew Haley
aph@redhat.com
Fri May 21 11:31:00 GMT 2004
Mark Wielaard writes:
> Hi,
>
> On Thu, 2004年05月20日 at 17:47, Tom Tromey wrote:
> > >>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
> >
> > Mark> Is there a reason why gcjh -jni marks all JNI functions extern JNIEXPORT
> > Mark> and not just JNIEXPORT?
> >
> > Not that I know of.
>
> OK in that case I propose the following patch:
>
> 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, but I'm curious. In what way was this confusing the Kaffe build process?
Andrew.
More information about the Java
mailing list