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

Function callOptionalMethod

test/embind/embind_test.cpp:1520–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1518}
1519
1520std::string callOptionalMethod(AbstractClass& ac, std::string s) {
1521 return ac.optionalMethod(s);
1522}
1523
1524void callReturnsSharedPtrMethod(AbstractClass& ac) {
1525 std::shared_ptr<Derived> sp = ac.returnsSharedPtr();

Callers

nothing calls this directly

Calls 1

optionalMethodMethod · 0.45

Tested by

no test coverage detected