Searched refs:PyPrintDestructor (Results 1 – 2 of 2) sorted by relevance
422 struct PyPrintDestructor { in TEST_SUBMODULE() struct423 PyPrintDestructor() = default; in TEST_SUBMODULE()424 ~PyPrintDestructor() { in TEST_SUBMODULE() argument429 py::class_<PyPrintDestructor>(m, "PyPrintDestructor") in TEST_SUBMODULE()431 .def("throw_something", &PyPrintDestructor::throw_something); in TEST_SUBMODULE()
411 m.PyPrintDestructor().throw_something()