2008/11/25 <[EMAIL PROTECTED]>: > On Nov 25, 4:34 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> 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.
http://cython.org also has some support for C++ bindings. I also heard that Boost.Python is very well suited to make full featured C++ / python bindings though I never tried myself. -- Olivier -- http://mail.python.org/mailman/listinfo/python-list