MCPcopy Create free account
hub / github.com/NativeScript/android / SetConstructorFunction

Function SetConstructorFunction

test-app/runtime/src/main/cpp/Util.cpp:394–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392 }
393
394 void SetConstructorFunction(Local <v8::Context> context,
395 Local <v8::Object> that,
396 const char *name,
397 Local <v8::FunctionTemplate> tmpl,
398 SetConstructorFunctionFlag flag) {
399 Isolate *isolate = context->GetIsolate();
400 SetConstructorFunction(
401 context, that, tns::OneByteString(isolate, name), tmpl, flag);
402 }
403
404 void SetConstructorFunction(Local <Context> context,
405 Local <Object> that,

Callers

nothing calls this directly

Calls 6

OneByteStringFunction · 0.85
ToLocalCheckedMethod · 0.80
GetFunctionMethod · 0.80
GetIsolateMethod · 0.45
CheckMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected