On Mon, 10 Nov 2008 05:44:44 -0800, [EMAIL PROTECTED] wrote: > All in all I must say that implementing a C extension is a piece of > cake. Had I known that it was this straightforward I wouldn't have asked > my questions in the first place. Making the whole thing more robust will > be a bit more difficult, and I need to find out how to deal with > ressources that are dynamically allocated on the C side. > > But that should be easy, and I'll just keep all the Python OO and > Exceptions stuff in the wrapper and call my C stuff from there in a more > or less straightforward C manner.
Then you might considering the `ctypes` module to call your C stuff. This way it is easier to build the extension and it is also independent from the Python version. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list