This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: CNI namespace


Per Bothner <per@bothner.com> writes:

> How?  A JNI jarray is typedef to an unspecified pointer type.
> A CNI jarray is a typedef to a specific pointer type.
> I see no reason why the former can't be the same as the latter.

Given "jarray foo", in CNI, foo->length is valid, in JNI it is not.

I need to deal with CNI and JNI jarrarys at the same time.  That is, I
need to be able to include both jni.h and cni.h and not have typedefs
conflict.

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