| 1056 | } |
| 1057 | |
| 1058 | PyObject * |
| 1059 | Diff_iter(Diff *self) |
| 1060 | { |
| 1061 | DiffIter *iter; |
| 1062 | |
| 1063 | iter = PyObject_New(DiffIter, &DiffIterType); |
| 1064 | if (iter != NULL) { |
| 1065 | Py_INCREF(self); |
| 1066 | iter->diff = self; |
| 1067 | iter->i = 0; |
| 1068 | iter->n = git_diff_num_deltas(self->diff); |
| 1069 | } |
| 1070 | return (PyObject*)iter; |
| 1071 | } |
| 1072 | |
| 1073 | PyObject * |
| 1074 | Diff_getitem(Diff *self, PyObject *value) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…