[issue1797] ctypes function pointer enhancements
STINNER Victor victor.stin...@haypocalc.com added the comment: Changes applied to trunk (and py3k) so I guess that the issue can be closed. -- nosy: +haypo resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1797 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1797] ctypes function pointer enhancements
Changes by Thomas Heller [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1797] ctypes function pointer enhancements
Thomas Heller [EMAIL PROTECTED] added the comment: NULL function pointers are have a boolean False value now; svn rev 63792 (trunk) and rev 63793 (py3k). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1797] ctypes function pointer enhancements
Changes by Thomas Heller [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9129/ctypes-funcptr.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1797] ctypes function pointer enhancements
Thomas Heller [EMAIL PROTECTED] added the comment: Remove useless file (doesn't contain a patch). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1797] ctypes function pointer enhancements
Thomas Heller added the comment: The patch will be extended ASAP so that 'None' is accepted by foreign functions where a function pointer (callback function) is expected. For consistency it should be possible to call the ctypes function prototype with None to create a NULL callback function pointer. -- title: ctypes NULL function pointers should have a False bool value. - ctypes function pointer enhancements __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1797 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com