Help with implementing callback functions using ctypes

Dan Stromberg drsalists at gmail.com
Sun May 26 15:10:14 EDT 2013


On Sun, May 26, 2013 at 9:12 AM, Shriramana Sharma <samjnaa at gmail.com>wrote:

> On Friday, May 24, 2013 8:56:28 AM UTC+5:30, Dan Stromberg wrote:
> > Cython is good. So is the new cffi, which might be thought of as a
> > safer (API-level) version of ctypes (which is ABI-level).
>
> Hi -- can you clarify what is this new CFFI and where I can get it? In the
> Python 3 library reference I seem to see only CTypes.
>

CFFI is like CTypes, but it allows you to do things like see C preprocessor
symbols.

https://cffi.readthedocs.org/en/release-0.6/

I don't think it comes with CPython, at least not yet.  But I believe it
comes with the latest Pypy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130526/d63fcb17/attachment.html>


More information about the Python-list mailing list