| using namespace emscripten; | |
| class C {}; | |
| void passThrough(int arg0, C* ptr) {} | |
| EMSCRIPTEN_BINDINGS(raw_pointers) { | |
| class_<C>("C"); | |
| function("passThrough", &passThrough, allow_raw_pointer<arg<0>>()); | |
| } | |
| using namespace emscripten; | |
| class C {}; | |
| void passThrough(int arg0, C* ptr) {} | |
| EMSCRIPTEN_BINDINGS(raw_pointers) { | |
| class_<C>("C"); | |
| function("passThrough", &passThrough, allow_raw_pointer<arg<0>>()); | |
| } | |