Improved struct module
Randall Hopper
aa8vb at yahoo.com
Thu Oct 14 07:37:42 EDT 1999
Fredrik Lundh:
|Tim Peters <tim_one at email.msn.com> wrote:
|
|> I think it defines more than 20 C structs, all of which I can define in
|> Python now and still interact nicely with the Python MQI extension
|> > module written in C.
|>
|> Haven't heard of this, but don't people use SWIG anymore <0.7 wink>?
|
|real programmers don't ;-)
Hehehe. Very funny :-)
SWIGing C interfaces IMO beats writing your own per-function/-type Py_*
routines by a mile, in time and maintainability. It's not perfect, but
it's a big step up.
Randall
More information about the Python-list
mailing list