This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: gcjh and JNIEXPORT
- From: Tom Tromey <tromey at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 07 Nov 2002 21:56:16 -0700
- Subject: Re: Patch: FYI: gcjh and JNIEXPORT
- References: <871y5yqruh.fsf@fleche.redhat.com> <aqfg8q$nrf$1@main.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:
>> + if (flag_jni && ! stubs)
>> + fputs ("JNICALL ", stream);
Ranjit> Shouldn't you also check "is_method && !is_init"?
Not that I planned it or anything :-(, but we do this up above:
if (! is_method && flag_jni)
return;
Ranjit> stdcall does not seem to be valid for constructors as well.
You can't have a native constructor.
Tom