Searched refs:ConstBuffer (Results 1 – 2 of 2) sorted by relevance
145 class ConstBuffer { in TEST_SUBMODULE() class157 ConstBuffer() : value(new int32_t{0}) { }; in TEST_SUBMODULE() function in TEST_SUBMODULE::ConstBuffer159 py::class_<ConstBuffer>(m, "ConstBuffer", py::buffer_protocol()) in TEST_SUBMODULE()161 .def_property("value", &ConstBuffer::get_value, &ConstBuffer::set_value) in TEST_SUBMODULE()162 .def_buffer(&ConstBuffer::get_buffer_info); in TEST_SUBMODULE()
83 for cls in [m.Buffer, m.ConstBuffer, m.DerivedBuffer]: