cginternals / cginternals/cppexpose

Support array properties in Duktape backend

Aperta
#46 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
decision required
Lingua principale
C
Stelle
28
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.