SWIG vs. ctypes (Was: ANN: PyEnchant 1.5.0)

cptnwillard at gmail.com cptnwillard at gmail.com
Tue Nov 25 11:34:20 EST 2008


On Nov 25, 4:34 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
>
> You can't use ctypes for C++, only for C-style APIs.
>
> Diez

With some work, you can convert your C++ objects to PyObject* and then
return the latter in a function with C bindings.



More information about the Python-list mailing list