Parent Directory | Revision Log | Patch
revision 1.36 by humppake, Fri Sep 27 10:38:01 2002 UTC | revision 1.37 by humppake, Fri Sep 27 11:30:45 2002 UTC | |
---|---|---|
# | Line 105 jstring unistr2jstr(JNIEnv *env, Rendera | Line 105 jstring unistr2jstr(JNIEnv *env, Rendera |
105 | } | } |
106 | /** Converts std::string to jstring through UTF-8 transformation */ | /** Converts std::string to jstring through UTF-8 transformation */ |
107 | jstring stdstr2jstr(JNIEnv *env, std::string stdstr) { | jstring stdstr2jstr(JNIEnv *env, std::string stdstr) { |
108 | return env->NewStringUTF(stdstr.c_char()); | return env->NewStringUTF(stdstr.c_str()); |
109 | } | } |
110 | ||
111 | Os::Window *getWindowByWID(int wid) { | Os::Window *getWindowByWID(int wid) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |