[Python-Dev] Ctypes and the stdlib (was Re: LZMA compression support in 3.3)
"Martin v. Löwis"
martin at v.loewis.de
Tue Aug 30 10:46:22 CEST 2011
> You might be reading more into that statement than I meant.
> You have to supply Pyrex/Cython versions of the C declarations,
> either hand-written or generated by a tool. But you write them
> based on the advertised C API -- you don't have to manually
> expand macros, work out the low-level layout of structs, or
> anything like that (as you often have to do when using ctypes).
I can understand how that works when building a CPython extension.
But what about creating Jython/IronPython modules with Cython?
At what point get the header files considered there?
Regards,
Martin
More information about the Python-Dev
mailing list