| 43 | PyIterator(T obj, ARGS ... args) : m_obj(obj), m_args(args ...) {} |
| 44 | |
| 45 | int nextIndex(int num) |
| 46 | { |
| 47 | if (m_i >= num) { throw py::stop_iteration(); } |
| 48 | return m_i++; |
| 49 | } |
| 50 | |
| 51 | void checkIndex(int i, int num) |
| 52 | { |
no outgoing calls
no test coverage detected