gzz-commits
[Top][All Lists]
Advanced

[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 07:30:45 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    02/09/27 07:30:45

Modified files:
        gfx/jni        : GzzGL-jni.cxx 

Log message:
        std::string::c_str() instead of std::string::data() :)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/jni/GzzGL-jni.cxx.diff?tr1=1.36&tr2=1.37&r1=text&r2=text

Patches:
Index: gzz/gfx/jni/GzzGL-jni.cxx
diff -c gzz/gfx/jni/GzzGL-jni.cxx:1.36 gzz/gfx/jni/GzzGL-jni.cxx:1.37
*** gzz/gfx/jni/GzzGL-jni.cxx:1.36      Fri Sep 27 06:38:01 2002
--- gzz/gfx/jni/GzzGL-jni.cxx   Fri Sep 27 07:30:45 2002
***************
*** 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) {
--- 105,111 ----
  }
  /** Converts std::string to jstring through UTF-8 transformation */
  jstring stdstr2jstr(JNIEnv *env, std::string stdstr) {
!   return env->NewStringUTF(stdstr.c_str());
  }
  
  Os::Window *getWindowByWID(int wid) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]