Help creating extension for C function

Fredrik Lundh fredrik at
Tue Oct 11 20:29:18 CEST 2005

Java and Swing wrote:

> So is "module.c" a new C file or do I add it to my existing, myapp.c?

it's a complete module.  if you want it to do something other than printing
the arguments, replace the "do stuff" section with your own code.  if you
want to call it something else, rename it.  if you want to change the API,
change it.  it's not that large; you should be able to figure out what it does
and how it does it in no time at all.


More information about the Python-list mailing list