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

Function py_cast_VectorOwner_ptr

tests/test_vector_unique_ptr_member.cpp:46–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44using namespace pybind11_tests::vector_unique_ptr_member;
45
46py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); }
47
48TEST_SUBMODULE(vector_unique_ptr_member, m) {
49 py::class_<VectorOwner>(m, "VectorOwner")

Callers

nothing calls this directly

Calls 1

castFunction · 0.70

Tested by

no test coverage detected