Open abhi-kr-2100 opened 9 months ago
I doesn't look like we have any support yet for sequence
in webidl_binder.py
. At least we don't do any testing of it. It does look like we support arrays though using []
syntax: https://github.com/emscripten-core/emscripten/blob/2f102befe3745e2145ce97cfe9b947a7f31a64e6/test/webidl/test.idl#L147-L153.
@kripken is this a known/expected limitation?
Yes, I believe we only support very few types, and not arbitrary sequences. Simple ones as in long[]
should work as you said @sbc100 , but I doubt anything else.
Version of emscripten/emsdk:
Failing command line in full:
tools/webidl_binder MyContainer.idl glue
The above command generates an incorrect glue.cpp file.
Source files: