| 313 | int32_t value = 0; |
| 314 | |
| 315 | py::buffer_info get_buffer_info() { |
| 316 | return py::buffer_info( |
| 317 | &value, sizeof(value), py::format_descriptor<int32_t>::format(), 1); |
| 318 | } |
| 319 | }; |
| 320 | py::class_<Buffer>(m, "Buffer", py::buffer_protocol()) |
| 321 | .def(py::init<>()) |
no test coverage detected