blob: 162ecfb73105a620492f6339cdd23c4d10eecd8d [file]
#include <emscripten/bind.h>
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>>());
}