MCPcopy Create free account
hub / github.com/9miao/CrossApp / log

Method log

scripting/javascript/bindings/ScriptingCore.cpp:601–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599
600
601JSBool ScriptingCore::log(JSContext* cx, uint32_t argc, jsval *vp)
602{
603 if (argc > 0) {
604 JSString *string = NULL;
605 JS_ConvertArguments(cx, argc, JS_ARGV(cx, vp), "S", &string);
606 if (string) {
607 JSStringWrapper wrapper(string);
608 js_log((char *)wrapper);
609 }
610 }
611 return JS_TRUE;
612}
613
614
615void ScriptingCore::removeScriptObjectByCCObject(CAObject* pObj)

Callers 6

jsb_cocos2d1.jsFile · 0.45
jsb_debugger.jsFile · 0.45
stepFunctionFunction · 0.45
main.debug.jsFile · 0.45
jsb_cocos2d.jsFile · 0.45
logWFunction · 0.45

Calls 1

js_logFunction · 0.85

Tested by

no test coverage detected