mercurial/cext/revlog.h
changeset 40861 b12700dd261f
parent 40860 18a8def6e1b5
child 44467 9db11679f8ac
--- a/mercurial/cext/revlog.h	Sun Dec 02 21:41:24 2018 +0900
+++ b/mercurial/cext/revlog.h	Sun Dec 02 22:10:37 2018 +0900
@@ -12,4 +12,8 @@
 
 extern PyTypeObject HgRevlogIndex_Type;
 
+#define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type)
+
+int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps);
+
 #endif /* _HG_REVLOG_H_ */