Home
last modified time | relevance | path

Searched refs:VirtClass (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_gil_scoped.cpp14 class VirtClass { class
16 virtual ~VirtClass() = default;
17 VirtClass() = default;
18 VirtClass(const VirtClass&) = delete;
23 class PyVirtClass : public VirtClass {
25 PYBIND11_OVERRIDE(void, VirtClass, virtual_func,); in virtual_func()
28 PYBIND11_OVERRIDE_PURE(void, VirtClass, pure_virtual_func,); in pure_virtual_func()
33 py::class_<VirtClass, PyVirtClass>(m, "VirtClass") in TEST_SUBMODULE()
35 .def("virtual_func", &VirtClass::virtual_func) in TEST_SUBMODULE()
36 .def("pure_virtual_func", &VirtClass::pure_virtual_func); in TEST_SUBMODULE()
[all …]
Dtest_gil_scoped.py25 class ExtendedVirtClass(m.VirtClass):