| 160 | } |
| 161 | |
| 162 | PyObject * |
| 163 | wrap_diff_line(const git_diff_line *line, DiffHunk *hunk) |
| 164 | { |
| 165 | DiffLine *py_line; |
| 166 | |
| 167 | py_line = PyObject_New(DiffLine, &DiffLineType); |
| 168 | if (py_line) { |
| 169 | Py_INCREF(hunk); |
| 170 | py_line->hunk = hunk; |
| 171 | py_line->line = line; |
| 172 | } |
| 173 | |
| 174 | return (PyObject *) py_line; |
| 175 | } |
| 176 | |
| 177 | static void |
| 178 | DiffFile_dealloc(DiffFile *self) |
no outgoing calls
no test coverage detected
searching dependent graphs…