| 77 | unsigned long cur; |
| 78 | |
| 79 | unsigned long next() |
| 80 | { |
| 81 | if (cur < range.second) |
| 82 | { |
| 83 | return cur++; |
| 84 | } |
| 85 | else |
| 86 | { |
| 87 | PyErr_SetString(PyExc_StopIteration, "No more data."); |
| 88 | throw py::error_already_set(); |
| 89 | } |
| 90 | } |
| 91 | }; |
| 92 | |
| 93 | range_iter make_range_iterator (const std::pair<unsigned long,unsigned long>& p) |
nothing calls this directly
no outgoing calls
no test coverage detected