Author: Andrew Leech <and...@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 */
 };
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to