Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
using namespace pybind11_tests::vector_unique_ptr_member;
45
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"
)
Callers
nothing calls this directly
Calls
1
cast
Function · 0.70
Tested by
no test coverage detected