Cast necessary in JRex_JNI_Util.h ? [patch]
Jean-Philippe Leboeuf <[email protected]> Wed, 12 Jul 2006 14:55:50 +0200
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
Hello, going on with my patches for jrex_1_0b1_dom3... MinGW fails to find env->ReleaseStringCritical(jstr_,XXXXtempXXXX) with XXXXtempXXXX of type PRUnichar*, because this function seems to be waiting for a jchar*. So what about env->ReleaseStringCritical(jstr_,(jchar*)XXXXtempXXXX) ? I am using MinGW current on Windows XP Pro SP2 : <http://prdownloads.sf.net/mingw/w32api-3.6.tar.gz?download> - gcc-core-3.4.2-20040916-1 - gcc-g++-3.4.2-20040916-1 - binutils-2.15.91-20040904-1 - mingw-runtime-3.9 - w32api-3.6 ++jpl _______________________________________________ JRex mailing list [email protected] http://mozdev.org/mailman/listinfo/jrex
JNI_Util_PRUnicharCast.patch
(text/plain, 226 B)
16a17 > * J.-P. Leboeuf <[email protected]> 76c77 < env->ReleaseStringCritical(jstr_,XXXXtempXXXX); \ --- > env->ReleaseStringCritical(jstr_,(jchar*)XXXXtempXXXX); \