Searched refs:jStr (Results 1 – 1 of 1) sorted by relevance
277 static std::string StringFromJava(JNIEnv *env, JavaRef<jstring> &jStr) { in StringFromJava() argument278 if (jStr == nullptr) return {}; in StringFromJava()279 auto cstr = env->GetStringUTFChars(jStr.get(), nullptr); in StringFromJava()281 env->ReleaseStringUTFChars(jStr.get(), cstr); in StringFromJava()