mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
SH, test update
This commit is contained in:
parent
fc548c067f
commit
2934913761
@ -33,7 +33,7 @@ TEST_SUBMODULE(class_sh_shared_ptr_copy, m) {
|
|||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
|
|
||||||
py::class_<FooAVL, PYBIND11_SH_AVL(FooAVL)>(m, "FooAVL");
|
py::class_<FooAVL, PYBIND11_SH_AVL(FooAVL)>(m, "FooAVL");
|
||||||
py::class_<FooDEF, std::shared_ptr<FooDEF>>(m, "FooDEF");
|
py::class_<FooDEF, PYBIND11_SH_DEF(FooDEF)>(m, "FooDEF");
|
||||||
|
|
||||||
m.def("test_avl", []() {
|
m.def("test_avl", []() {
|
||||||
auto o = std::make_shared<FooAVL>("AVL");
|
auto o = std::make_shared<FooAVL>("AVL");
|
||||||
|
Loading…
Reference in New Issue
Block a user