Marking JNI funtions extern

Mark Wielaard mark@klomp.org
Fri May 21 11:11:00 GMT 2004


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.
Tested by rebuilding both libjava and GNU Classpath (with
--enable-regen-headers), no regressions.
OK to commit?
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gjavah.patch
Type: text/x-patch
Size: 553 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20040521/7e39683e/attachment.bin>
-------------- 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/7e39683e/attachment.sig>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /