mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-19 13:13:19 +08:00
This commit is contained in:
parent
6de6191a0c
commit
3f366ff888
@ -45,8 +45,6 @@ using namespace pybind11_tests::vector_unique_ptr_member;
|
|||||||
|
|
||||||
py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); }
|
py::object py_cast_VectorOwner_ptr(VectorOwner *ptr) { return py::cast(ptr); }
|
||||||
|
|
||||||
// PYBIND11_SMART_HOLDER_TYPE_CASTERS(VectorOwner)
|
|
||||||
|
|
||||||
TEST_SUBMODULE(vector_unique_ptr_member, m) {
|
TEST_SUBMODULE(vector_unique_ptr_member, m) {
|
||||||
py::class_<VectorOwner>(m, "VectorOwner")
|
py::class_<VectorOwner>(m, "VectorOwner")
|
||||||
.def_static("Create", &VectorOwner::Create)
|
.def_static("Create", &VectorOwner::Create)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user