How to query module properties in C++ and return an object to JS with webidl_binder created binding.

10 views
Skip to first unread message

キャロウ マーク

unread,
Apr 27, 2020, 5:56:19 PM4/27/20
to emscripten-discuss
Question 3:

How to do the equivalent of

val texture = val::module_property("GL")["textures"][texname]

when using webidl_binder. Is it legit to use emscripten::val in the c++ code? When I try, unless I use —embind on the emcc command I get undefined references. I don’t know if it is okay to use —bind with webidl_binder created bindings. Is it?

Regards

-Mark
signature.asc
Reply all
Reply to author
Forward
0 new messages