jni jint = int ?
From: Québec (Once_at_WasEno.ugh)
Date: 07/29/04
- Next message: P.Hill: "Re: Sun vs. Microsoft JVMs"
- Previous message: Steven J Sobol: "Re: Sun vs. Microsoft JVMs"
- Next in thread: Jim Sculley: "Re: jni jint = int ?"
- Reply: Jim Sculley: "Re: jni jint = int ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jul 2004 14:56:34 -0400
Hi for ever,
Does the JNI variables can be assigned to C variables
const char * x = (*env)->GetStringUTFChars(env, jstr, &iscopy);
jchar some[4] ;
strcpy(some x); or reverse
for(i=0;i<4;i++){
some[i] = *(x+i);
printf(": %c\n", some[i]);
}
etc ?
Jean
- Next message: P.Hill: "Re: Sun vs. Microsoft JVMs"
- Previous message: Steven J Sobol: "Re: Sun vs. Microsoft JVMs"
- Next in thread: Jim Sculley: "Re: jni jint = int ?"
- Reply: Jim Sculley: "Re: jni jint = int ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]