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

Re: Patch: FYI: gcjh and JNIEXPORT


>>>>> "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


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