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

Method set

scripting/javascript/bindings/ScriptingCore.h:282–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281 }
282 void set(jsval val, JSContext* cx) {
283 if (val.isString()) {
284 this->set(val.toString(), cx);
285 } else {
286 buffer = NULL;
287 }
288 }
289 void set(JSString* str, JSContext* cx) {
290 string = str;
291 if (!cx) {

Calls 4

cc_utf16_to_utf8Function · 0.85
getGlobalContextMethod · 0.80
isStringMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected