Gabriel Genellina wrote:You can't pass any arbitrary C object to a Python function.In this case you can use a PyCObject, a Python box around a void* pointer.See http://docs.python.org/api/cObjects.htmlNeat! Didn't know about that one.
I found it just by chance. The title alone in the API reference isn't very descriptive...
-- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list