Searched refs:DerivedBuffer (Results 1 – 2 of 2) sorted by relevance
164 struct DerivedBuffer : public Buffer { }; in TEST_SUBMODULE() struct165 py::class_<DerivedBuffer>(m, "DerivedBuffer", py::buffer_protocol()) in TEST_SUBMODULE()167 .def_readwrite("value", (int32_t DerivedBuffer::*) &DerivedBuffer::value) in TEST_SUBMODULE()168 .def_buffer(&DerivedBuffer::get_buffer_info); in TEST_SUBMODULE()
83 for cls in [m.Buffer, m.ConstBuffer, m.DerivedBuffer]: