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

Function EMSCRIPTEN_BINDINGS

test/modularize_instance_embind.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21EMSCRIPTEN_BINDINGS(xxx) {
22 function("foo", &foo);
23 class_<Bar>("Bar")
24 .constructor<>()
25 .function("print", &Bar::print);
26}

Callers

nothing calls this directly

Calls 2

functionFunction · 0.50
functionMethod · 0.45

Tested by

no test coverage detected