MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / EMSCRIPTEN_BINDINGS

Function EMSCRIPTEN_BINDINGS

test/embind/test_val.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36EMSCRIPTEN_BINDINGS(test_bindings) {
37 emscripten::class_<Dummy>("Dummy");
38 emscripten::function("throw_js_error", &throw_js_error);
39 emscripten::function("makeDummy", &makeDummy, emscripten::allow_raw_pointers());
40}
41
42int main() {
43 printf("start\n");

Callers

nothing calls this directly

Calls 2

allow_raw_pointersClass · 0.85
functionFunction · 0.50

Tested by

no test coverage detected