| 182 | int32_t value = 0; |
| 183 | |
| 184 | py::buffer_info get_buffer_info() { |
| 185 | return py::buffer_info( |
| 186 | &value, sizeof(value), py::format_descriptor<int32_t>::format(), 1); |
| 187 | } |
| 188 | }; |
| 189 | py::class_<Buffer>(m, "Buffer", py::buffer_protocol()) |
| 190 | .def(py::init<>()) |
no test coverage detected