[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/jni GzzGL-jni.cxx
From: |
Asko Soukka |
Subject: |
[Gzz-commits] gzz/gfx/jni GzzGL-jni.cxx |
Date: |
Fri, 27 Sep 2002 06:38:01 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Asko Soukka <address@hidden> 02/09/27 06:38:01
Modified files:
gfx/jni : GzzGL-jni.cxx
Log message:
std::string::c_char() instead of std::string::data()
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/jni/GzzGL-jni.cxx.diff?tr1=1.35&tr2=1.36&r1=text&r2=text
Patches:
Index: gzz/gfx/jni/GzzGL-jni.cxx
diff -c gzz/gfx/jni/GzzGL-jni.cxx:1.35 gzz/gfx/jni/GzzGL-jni.cxx:1.36
*** gzz/gfx/jni/GzzGL-jni.cxx:1.35 Fri Sep 27 01:45:14 2002
--- gzz/gfx/jni/GzzGL-jni.cxx Fri Sep 27 06:38:01 2002
***************
*** 105,111 ****
}
/** Converts std::string to jstring through UTF-8 transformation */
jstring stdstr2jstr(JNIEnv *env, std::string stdstr) {
! return env->NewStringUTF(stdstr.data());
}
Os::Window *getWindowByWID(int wid) {
--- 105,111 ----
}
/** Converts std::string to jstring through UTF-8 transformation */
jstring stdstr2jstr(JNIEnv *env, std::string stdstr) {
! return env->NewStringUTF(stdstr.c_char());
}
Os::Window *getWindowByWID(int wid) {