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

Function passShared

test/embind/embind_test.cpp:1579–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1577}
1578
1579void passShared(AbstractClass& ac) {
1580 auto p = std::make_shared<Derived>();
1581 ac.passShared(p);
1582}
1583
1584void passVal(AbstractClass& ac, val v) {
1585 return ac.passVal(v);

Callers

nothing calls this directly

Calls 1

passSharedMethod · 0.45

Tested by

no test coverage detected