[Pyrex] Pyrex versus ctypes, again
Peter Brinkmann
brinkman at math.TU-Berlin.DE
Fri Jul 22 21:58:33 CEST 2005
Greg,
Thanks for your prompt reply! I guess I'll stick to ctypes for this
particular project, then, but I'll keep Pyrex in mind for the future.
Best,
Peter
On Sat, Jul 23, 2005 at 12:08:26AM +1200, Greg Ewing wrote:
>
> Peter Brinkmann wrote:
>
> >Now, my main concern
> >is that I don't see how to use pyrex to expose C structs and unions to
> >Python. They may appear in pyrex code, but they won't be available on
> >the Python side, right?
>
> Not automatically, no. Pyrex provides what you need
> to build a Pythonic interface to them, but you have
> to do the building yourself.
>
> If you want something you can just throw a bunch
> of C declarations at and get a Python interface
> for free, Pyrex isn't for you.
>
> Greg
>
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex
>
--
More information about the Pyrex
mailing list