Hi all!
Is it possible using the current EMBIND to pass one CPP class to another?
For example:
Here I tried constructing class Bar in the same binding declaration as Foo, 
and construct a Bar using Foo.
Is it possible at all, and if yes how?
Thanks
Ronny


EMSCRIPTEN_BINDINGS(Test) {
emscripten::class_<Foo>("Foo").
constructor<const char*, const char*, const char*>().
emscripten::class_<Bar>("Bar").
constructor<Foo>();
}

-- 
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/1149d106-b2f4-48d1-9c1b-040150c879a3n%40googlegroups.com.

Reply via email to