cginternals / cginternals/cppexpose

Support array properties in Duktape backend

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
decision required
Dominant language
C
Stars
28
Forks
12
PR merge metrics
No merged PRs in 30d

Description

It should be possible to create a `Property>("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::vector` as an array type, only `std::array`
- [ ] the Duktape backend does not expose arrays as such

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.