cppexpose
cppexpose copied to clipboard
Support array properties in Duktape backend
It should be possible to create a Property<std::vector<int>>("myArray", ...) and access its elements from JS as myObj.myArray[x].
Currently, I see two issues that must be addressed:
- [ ] the typed-library does not recognize
std::vectoras an array type, onlystd::array - [ ] the Duktape backend does not expose arrays as such