MCPcopy Create free account
hub / github.com/OpenWebCAD/node-occ / makeInstance

Function makeInstance

src/Util.h:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5
6inline v8::Local<v8::Object> makeInstance(Nan::Persistent<v8::FunctionTemplate>& _template) {
7 return Nan::NewInstance(Nan::GetFunction(Nan::New(_template)).ToLocalChecked()).ToLocalChecked();
8}
9
10template <class T> inline double extract_double(const v8::Local<T>& a) {
11 return Nan::To<double>(a).FromJust();

Callers 14

CloneMethod · 0.85
NAN_METHODFunction · 0.85
CloneMethod · 0.85
CloneMethod · 0.85
NewInstanceMethod · 0.85
createMeshMethod · 0.85
buildEmptyWrapperFunction · 0.85
CloneMethod · 0.85
NewInstanceMethod · 0.85
NewInstanceMethod · 0.85
NAN_METHODFunction · 0.85
NewInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected