| 208 | } |
| 209 | |
| 210 | Vector<String> GodotMonoDecompWrapper::get_all_strings_in_module() { |
| 211 | ERR_FAIL_COND_V_MSG(decompilerHandle == nullptr, Vector<String>(), "Decompiler handle is null"); |
| 212 | int num_strings = 0; |
| 213 | char32_t **strings = GodotMonoDecomp_GetAllUtf32StringsInModule(decompilerHandle, &num_strings); |
| 214 | Vector<String> strings_strs; |
| 215 | for (int i = 0; i < num_strings; i++) { |
| 216 | strings_strs.push_back(String(strings[i])); |
| 217 | } |
| 218 | GodotMonoDecomp_FreeArray((void *)strings, num_strings); |
| 219 | return strings_strs; |
| 220 | } |
| 221 | |
| 222 | Dictionary GodotMonoDecompWrapper::get_language_versions() { |
| 223 | int num_versions = 0; |
no test coverage detected