| 330 | void set_value(int32_t v) { *value = v; } |
| 331 | |
| 332 | py::buffer_info get_buffer_info() const { |
| 333 | return py::buffer_info( |
| 334 | value.get(), sizeof(*value), py::format_descriptor<int32_t>::format(), 1); |
| 335 | } |
| 336 | |
| 337 | ConstBuffer() : value(new int32_t{0}) {} |
| 338 | }; |
nothing calls this directly
no test coverage detected