It works. 

On Monday, May 18, 2020 at 12:44:03 PM UTC-5, キャロウ マーク wrote:
>
>
>
> On May 18, 2020, at 4:23, gerald-dotcom <wregr...@gmail.com <javascript:>> 
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/4f9bef1a-084e-4359-9230-af45289f1884%40googlegroups.com.

Reply via email to