diff mercurial/cext/revlog.h @ 40859:aa76be85029b

revlog: export symbol of indexType The idea is to wrap the index object with rust-cpython. I haven't tried it, but it should be doable. We'll probably need a better interface than raw function pointers to do more in Rust.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Dec 2018 21:37:42 +0900
parents
children 18a8def6e1b5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cext/revlog.h	Sun Dec 02 21:37:42 2018 +0900
@@ -0,0 +1,15 @@
+/*
+ revlog.h - efficient revlog parsing
+
+ This software may be used and distributed according to the terms of
+ the GNU General Public License, incorporated herein by reference.
+*/
+
+#ifndef _HG_REVLOG_H_
+#define _HG_REVLOG_H_
+
+#include <Python.h>
+
+extern PyTypeObject indexType;
+
+#endif /* _HG_REVLOG_H_ */