C wrapper

Sheldon shejo284 at gmail.com
Tue Nov 7 21:43:09 CET 2006


Hi,

> For a module called foo.c the initialization function must be called
> initfoo (*not* init_foo)

Ok, I fixed this part. Thanks


> And what are those non-static functions used for? The *only* purpose
> of your module should be to provide the Python bindings...

I wrote the C module to do some number crunching. Now I just need to
"connect" it to my python program. Should the initmsgpps_functions() be
the only function in the file? Then how do I "connect" my C module to
my Python program?

/Sheldon




More information about the Python-list mailing list