> On May 18, 2020, at 4:23, gerald-dotcom <[email protected]> wrote: > > I have Global JavaScript object structured like below, > > > foo Object > > gee property > >> nee() function > >> zee() function > > > > I used two possible ways to call the nee function, see below, > > > > 1 Method > > emscripten::val::global("foo").call<void>("gee.nee"); > > 2 Method > > emscripten::val::global("foo['gee']").call<void>("nee"); > >
May be val::global(“foo")[“gee”].call<void>[“nee”]; Something like that works
for me to fetch something from the module using val::module_property, absent
the “call<void>”.
I could be completely wrong. As my questions to this group, so far sadly
unanswered, show there’s a lot I still don’t understand about embind and
webidl_binder.
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/9F94573B-BD0C-4616-A6D8-8E8EB5DB075E%40callow.im.
signature.asc
Description: Message signed with OpenPGP
