mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 14:33:52 +00:00
First draft of a GPG3-style profiler (including tracing into scripts, after a fashion)
This was SVN commit r2090.
This commit is contained in:
@@ -453,6 +453,7 @@ void IGUIObject::ScriptEvent(const CStr& Action)
|
||||
paramData[0] = OBJECT_TO_JSVAL(mouseObj);
|
||||
|
||||
jsval result;
|
||||
|
||||
JSBool ok = JS_CallFunction(g_ScriptingHost.getContext(), jsGuiObject, it->second, 1, paramData, &result);
|
||||
if (!ok)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user