[pypy-commit] cffi buffer_richcompare: Enable the richcompare function in minibuffer

coronafire pypy.commits at gmail.com
Mon Feb 6 03:24:50 EST 2017


Author: Andrew Leech <andrew at alelec.net>
Branch: buffer_richcompare
Changeset: r2883:262d319d4f4b
Date: 2017-02-05 12:59 +1100
http://bitbucket.org/cffi/cffi/changeset/262d319d4f4b/

Log:	Enable the richcompare function in minibuffer

diff --git a/c/minibuffer.h b/c/minibuffer.h
--- a/c/minibuffer.h
+++ b/c/minibuffer.h
@@ -352,7 +352,7 @@
     0,                                          /* tp_doc */
     (traverseproc)mb_traverse,                  /* tp_traverse */
     (inquiry)mb_clear,                          /* tp_clear */
-    0,                                          /* tp_richcompare */
+    (richcmpfunc)mb_richcompare,                /* tp_richcompare */
     offsetof(MiniBufferObj, mb_weakreflist),    /* tp_weaklistoffset */
 };
 


More information about the pypy-commit mailing list