| 3 | #include <dlfcn.h> |
| 4 | |
| 5 | lString16 CRJNIEnv::fromJavaString( jstring str ) |
| 6 | { |
| 7 | if ( !str ) |
| 8 | return lString16(); |
| 9 | jboolean iscopy; |
| 10 | const char * s = env->GetStringUTFChars( str, &iscopy ); |
| 11 | lString16 res(s); |
| 12 | env->ReleaseStringUTFChars(str, s); |
| 13 | return res; |
| 14 | } |
| 15 | |
| 16 | jstring CRJNIEnv::toJavaString( const lString16 & str ) |
| 17 | { |
no test coverage detected