Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
EMSCRIPTEN_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
51
int main(int argc, char **argv) {
Callers
nothing calls this directly
Calls
1
function
Method · 0.45
Tested by
no test coverage detected