Show More
@@ -1112,8 +1112,10 b' static PyObject *reachableroots(indexObj' | |||||
1112 | long minroot; |
|
1112 | long minroot; | |
1113 | PyObject *includepatharg = NULL; |
|
1113 | PyObject *includepatharg = NULL; | |
1114 | int includepath = 0; |
|
1114 | int includepath = 0; | |
|
1115 | /* heads is a list */ | |||
1115 | PyObject *heads = NULL; |
|
1116 | PyObject *heads = NULL; | |
1116 | Py_ssize_t numheads; |
|
1117 | Py_ssize_t numheads; | |
|
1118 | /* roots is a set */ | |||
1117 | PyObject *roots = NULL; |
|
1119 | PyObject *roots = NULL; | |
1118 | PyObject *reachable = NULL; |
|
1120 | PyObject *reachable = NULL; | |
1119 |
|
1121 | |||
@@ -1134,8 +1136,8 b' static PyObject *reachableroots(indexObj' | |||||
1134 | char *seen = NULL; |
|
1136 | char *seen = NULL; | |
1135 |
|
1137 | |||
1136 | /* Get arguments */ |
|
1138 | /* Get arguments */ | |
1137 |
if (!PyArg_ParseTuple(args, "lO!O!O!", &minroot, &Py |
|
1139 | if (!PyArg_ParseTuple(args, "lO!O!O!", &minroot, &PyList_Type, &heads, | |
1138 |
&Py |
|
1140 | &PySet_Type, &roots, &PyBool_Type, &includepatharg)) | |
1139 | goto bail; |
|
1141 | goto bail; | |
1140 |
|
1142 | |||
1141 | if (includepatharg == Py_True) |
|
1143 | if (includepatharg == Py_True) |
General Comments 0
You need to be logged in to leave comments.
Login now