[clpython-devel] c api?

Willem Broekema metawilm at gmail.com
Mon May 24 15:30:58 UTC 2010


On Mon, May 24, 2010 at 4:41 PM, Seth Burleigh <seth at tewebs.com> wrote:
> it seems that it would just be a matter of converting from the ctypes
> api to the cffi api. Though scanning it i don't see how some things
> could be done, like examining the stack for windows to see if  you
> passed the wrong amount of arguments. Most othres, however, like
> endianess of structures, using custom datatypes, are all possible.

Yes, ctypes looks implementable with CFFI. If you give it a try, let
me know how it goes :)

There are many C extensions for Python that are using this API
instead: http://docs.python.org/c-api/ -- and supporting all of that
is a challenge.

- Willem




More information about the Clpython-devel mailing list