| 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 |