MCPcopy Create free account
hub / github.com/pybind/pybind11 / AddInCppUniquePtr

Function AddInCppUniquePtr

tests/test_class_sh_trampoline_basic.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39int AddInCppUniquePtr(std::unique_ptr<Abase> obj, int other_val) {
40 return obj->Add(other_val) * 100 + 13;
41}
42
43} // namespace class_sh_trampoline_basic
44} // namespace pybind11_tests

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected