diff mercurial/cext/revlog.h @ 40860:18a8def6e1b5

revlog: rename indexType to HgRevlogIndex_Type as it's a global symbol It follows the CPython naming convention, but uses Hg instead of Py.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Dec 2018 21:41:24 +0900
parents aa76be85029b
children b12700dd261f
line wrap: on
line diff
--- a/mercurial/cext/revlog.h	Sun Dec 02 21:37:42 2018 +0900
+++ b/mercurial/cext/revlog.h	Sun Dec 02 21:41:24 2018 +0900
@@ -10,6 +10,6 @@
 
 #include <Python.h>
 
-extern PyTypeObject indexType;
+extern PyTypeObject HgRevlogIndex_Type;
 
 #endif /* _HG_REVLOG_H_ */