| 98 | class PyFileReader : public mx::io::Reader { |
| 99 | public: |
| 100 | PyFileReader(nb::object file) |
| 101 | : pyistream_(file), |
| 102 | readinto_func_(file.attr("readinto")), |
| 103 | seek_func_(file.attr("seek")), |
| 104 | tell_func_(file.attr("tell")) {} |
| 105 | |
| 106 | ~PyFileReader() { |
| 107 | nb::gil_scoped_acquire gil; |
nothing calls this directly
no outgoing calls
no test coverage detected