Steven> In fact, I believe someone has already written a script that takes a
Steven> C header file and automatically generates a Python module that interfaces
Steven> to all those functions.
Has this been done?
Let's say I have a simple database library written in C and I would like
to use it from Python. Is there a program to automate the glue code
writing?
I took a look at modulator.py which does something similar, but not
quite what I want in this case.
Actually, I made a stab at writing h2pymodule.py myself, but if
somebody has already finished, I'd like to hear about it.
I realize not everything can be made fully automatic, but much
handwork could be avoided in all cases, and simple function calls
could be 'glued' automatically.
Thanks,
Harri
-- ========================================================================== Harri Pasanen pa@tekla.fi