| 509 | } |
| 510 | |
| 511 | void GodotJavaWrapper::dump_benchmark(const String &benchmark_file) { |
| 512 | if (_dump_benchmark) { |
| 513 | JNIEnv *env = get_jni_env(); |
| 514 | ERR_FAIL_NULL(env); |
| 515 | jstring j_benchmark_file = env->NewStringUTF(benchmark_file.utf8().get_data()); |
| 516 | env->CallVoidMethod(godot_instance, _dump_benchmark, j_benchmark_file); |
| 517 | env->DeleteLocalRef(j_benchmark_file); |
| 518 | } |
| 519 | } |
| 520 | |
| 521 | bool GodotJavaWrapper::has_feature(const String &p_feature) const { |
| 522 | if (_has_feature) { |
no test coverage detected