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

Method NewInstance

src/BooleanOperation.cc:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15v8::Local<v8::Value> BooleanOperation::NewInstance(BOPAlgo_Operation op)
16{
17
18 v8::Local<v8::Object> instance = makeInstance(_template);
19 BooleanOperation* pThis = ObjectWrap::Unwrap<BooleanOperation>(instance);
20 return instance;
21}
22
23
24inline bool _isEqual(v8::Local<v8::String> a,const std::string txt) {

Callers

nothing calls this directly

Calls 1

makeInstanceFunction · 0.85

Tested by

no test coverage detected