| 46 | py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); } |
| 47 | |
| 48 | TEST_SUBMODULE(vector_unique_ptr_member, m) { |
| 49 | py::class_<VectorOwner>(m, "VectorOwner") |
| 50 | .def_static("Create", &VectorOwner::Create) |
| 51 | .def("data_size", &VectorOwner::data_size); |
| 52 | |
| 53 | m.def("py_cast_VectorOwner_ptr", py_cast_VectorOwner_ptr); |
| 54 | } |
nothing calls this directly
no outgoing calls
no test coverage detected