##// END OF EJS Templates
cext: make HgRevlogIndex_GetParents private again...
marmoute -
r44957:9db11679 default
parent child Browse files
Show More
@@ -208,7 +208,7 b' static inline int index_get_parents(inde'
208 *
208 *
209 * Returns 0 on success or -1 on failure.
209 * Returns 0 on success or -1 on failure.
210 */
210 */
211 int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps)
211 static int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps)
212 {
212 {
213 int tiprev;
213 int tiprev;
214 if (!op || !HgRevlogIndex_Check(op) || !ps) {
214 if (!op || !HgRevlogIndex_Check(op) || !ps) {
@@ -14,6 +14,4 b' extern PyTypeObject HgRevlogIndex_Type;'
14
14
15 #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type)
15 #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type)
16
16
17 int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps);
18
19 #endif /* _HG_REVLOG_H_ */
17 #endif /* _HG_REVLOG_H_ */
General Comments 0
You need to be logged in to leave comments. Login now