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?
ThanksRonnyEMSCRIPTEN_BINDINGS(Test) {emscripten::class_<Foo>("Foo").constructor<const char*, const char*, const char*>().emscripten::class_<Bar>("Bar").constructor<Foo>();}