MCPcopy Create free account
hub / github.com/charto/nbind / setValueConstructorJS

Method setValueConstructorJS

include/nbind/BindClass.h:125–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 // http://jayconrod.com/posts/52/a-tour-of-v8-object-representation
124
125 void setValueConstructorJS(cbFunction &func) {
126 if(valueConstructorJS != nullptr) delete(valueConstructorJS);
127 valueConstructorJS = new cbFunction(func);
128 }
129
130 cbFunction *getValueConstructorJS() const { return(valueConstructorJS); }
131

Callers 1

bind_valueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected