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

Function NewFunctionTemplate

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

Source from the content-addressed store, hash-verified

139 }
140
141 Local <v8::FunctionTemplate> NewFunctionTemplate(
142 v8::Isolate *isolate,
143 v8::FunctionCallback callback,
144 Local <v8::Value> data,
145 Local <v8::Signature> signature,
146 v8::ConstructorBehavior behavior,
147 v8::SideEffectType side_effect_type,
148 const v8::CFunction *c_function) {
149 return v8::FunctionTemplate::New(isolate,
150 callback,
151 data,
152 signature,
153 0,
154 behavior,
155 side_effect_type,
156 c_function);
157 }
158
159 void SetMethod(Local <v8::Context> context,
160 Local <v8::Object> that,

Callers 7

SetMethodFunction · 0.85
SetFastMethodFunction · 0.85
SetMethodNoSideEffectFunction · 0.85
SetProtoMethodFunction · 0.85
SetInstanceMethodFunction · 0.85

Calls 1

NewFunction · 0.85

Tested by

no test coverage detected