On 2008-10-18, Michele <[EMAIL PROTECTED]> wrote:

> I would like to call C functions in a Python program, passing
> user-defined objects and primitive python types (str, ints, etc.); of
> course I also want to receive data from these functions, manipulating it
> in my python program.
> First of all: is this possible?

Yes.

> Secondly, what's the mapping between C types and Python types?

http://www.python.org/doc/2.5.2/ext/ext.html
http://www.python.org/doc/2.5.2/lib/module-ctypes.html

-- 
Grant Edwards                   grante             Yow! I want to kill
                                  at               everyone here with a cute
                               visi.com            colorful Hydrogen Bomb!!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to