| 2093 | } |
| 2094 | |
| 2095 | bool ScriptingCore::parseConfig(ConfigType type, const std::string& str) |
| 2096 | { |
| 2097 | jsval args[2]; |
| 2098 | args[0] = int32_to_jsval(cx_, static_cast<int>(type)); |
| 2099 | args[1] = std_string_to_jsval(cx_, str); |
| 2100 | return (JS_TRUE == executeFunctionWithOwner(OBJECT_TO_JSVAL(global_), "__onParseConfig", 2, args)); |
| 2101 | } |
| 2102 | |
| 2103 |
nothing calls this directly
no test coverage detected