[PATCH 3 of 7] util.h: Add a PyInt_AsLong definition for usage in the inotify module
Renato Cunha
renatoc at gmail.com
Fri Jul 2 14:59:53 CDT 2010
# HG changeset patch
# User Renato Cunha <renatoc at gmail.com>
# Date 1278098498 10800
# Node ID bcff2bb34e225c722a8653050caf50b3beb686c7
# Parent 11752658d9a25eb12c5843fcf0e5fcc86fe9070a
util.h: Add a PyInt_AsLong definition for usage in the inotify module.
diff --git a/mercurial/util.h b/mercurial/util.h
--- a/mercurial/util.h
+++ b/mercurial/util.h
@@ -12,6 +12,7 @@
#define IS_PY3K
#define PyInt_FromLong PyLong_FromLong
+#define PyInt_AsLong PyLong_AsLong
#endif /* PY_MAJOR_VERSION */
More information about the Mercurial-devel
mailing list