Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46103

Re: Help with implementing callback functions using ctypes

References <8931a89c-0d00-4c8b-ba19-cf683d8d266d@googlegroups.com> <87mws4bsum.fsf@handshake.de> <mailman.2049.1369365991.3114.python-list@python.org> <8de1876e-c157-4012-9921-b981e079327d@googlegroups.com>
Date 2013-05-26 12:10 -0700
Subject Re: Help with implementing callback functions using ctypes
From Dan Stromberg <drsalists@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2191.1369595417.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, May 26, 2013 at 9:12 AM, Shriramana Sharma <samjnaa@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Help with implementing callback functions using ctypes jamadagni <samjnaa@gmail.com> - 2013-05-08 04:19 -0700
  Re: Help with implementing callback functions using ctypes dieter <dieter@handshake.de> - 2013-05-09 07:54 +0200
  Re: Help with implementing callback functions using ctypes Stefan Behnel <stefan_ml@behnel.de> - 2013-05-09 08:57 +0200
  Re: Help with implementing callback functions using ctypes Nobody <nobody@nowhere.com> - 2013-05-09 19:32 +0100
    Re: Help with implementing callback functions using ctypes jamadagni <samjnaa@gmail.com> - 2013-05-23 20:11 -0700
  Re: Help with implementing callback functions using ctypes Dan Stromberg <drsalists@gmail.com> - 2013-05-23 20:26 -0700
    Re: Help with implementing callback functions using ctypes Shriramana Sharma <samjnaa@gmail.com> - 2013-05-26 09:12 -0700
      RE: Help with implementing callback functions using ctypes Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 21:43 +0300
      Re: Help with implementing callback functions using ctypes Dan Stromberg <drsalists@gmail.com> - 2013-05-26 12:10 -0700

csiph-web