jsdIScriptHook *hook = NS_STATIC_CAST(jsdIScriptHook *, callerdata); if (creating) hook->OnScriptLoaded (jsdContext::FromPtr(jsdc), jsdScript::FromPtr(jsdc, jsdscript), creating ? PR_TRUE : PR_FALSE);
jsds_ScriptHookProc (JSDContext* jsdc, JSDScript* jsdscript, JSBool creating,                     void* callerdata){    if (!callerdata)        return;        jsdIScriptHook *hook = NS_STATIC_CAST(jsdIScriptHook *, callerdata);    if (creating)        hook->OnScriptLoaded (jsdContext::FromPtr(jsdc),                              jsdScript::FromPtr(jsdc, jsdscript),                              creating ? PR_TRUE : PR_FALSE);}