| 19 | using namespace emscripten; |
| 20 | |
| 21 | EMSCRIPTEN_BINDINGS(Marci) { |
| 22 | class_<Foo>("Foo").smart_ptr_constructor<std::shared_ptr<Foo>>( |
| 23 | "Foo", &std::make_shared<Foo, std::string>); |
| 24 | |
| 25 | function("foo", foo); |
| 26 | function("pFoo", pFoo, allow_raw_pointers()); |
| 27 | } |
nothing calls this directly
no test coverage detected