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

Function EMSCRIPTEN_BINDINGS

test/core/test_embind_inheritance.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40EMSCRIPTEN_BINDINGS(my_module) {
41 class_<MyFoo>("MyFoo")
42 .constructor<>()
43 .function("doit", &MyFoo::doit)
44 ;
45 class_<MyBar, base<MyFoo>>("MyBar")
46 .constructor<>()
47 ;
48}
49
50
51int main(int argc, char **argv) {

Callers

nothing calls this directly

Calls 1

functionMethod · 0.45

Tested by

no test coverage detected