| 723 | |
| 724 | |
| 725 | PyObject * |
| 726 | wrap_reference(git_reference * c_reference, Repository *repo) |
| 727 | { |
| 728 | Reference *py_reference=NULL; |
| 729 | |
| 730 | py_reference = PyObject_New(Reference, &ReferenceType); |
| 731 | if (py_reference) { |
| 732 | py_reference->reference = c_reference; |
| 733 | py_reference->repo = repo; |
| 734 | if (repo) { |
| 735 | Py_INCREF(repo); |
| 736 | } |
| 737 | } |
| 738 | |
| 739 | return (PyObject *)py_reference; |
| 740 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…