| 131 | |
| 132 | PyDoc_STRVAR(Object__pointer__doc__, "Get the object's pointer. For internal use only."); |
| 133 | PyObject * |
| 134 | Object__pointer__get__(Object *self) |
| 135 | { |
| 136 | /* Bytes means a raw buffer */ |
| 137 | if (Object__load(self) == NULL) { return NULL; } // Lazy load |
| 138 | return PyBytes_FromStringAndSize((char *) &self->obj, sizeof(git_object *)); |
| 139 | } |
| 140 | |
| 141 | PyDoc_STRVAR(Object_name__doc__, |
| 142 | "Name (or None if the object was not reached through a tree)"); |
nothing calls this directly
no test coverage detected
searching dependent graphs…