Defining Python class methods in C

Bryan belred1 at yahoo.com
Sat Mar 22 02:58:34 CET 2003


can someone please help me with this?

there is this cookbook recipe that shows how to make a class type in
c. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/54352

what this recipe doesn't show is exactly how to instantiate one of
these objects in c (not python) and call the __init__ method. 
obviously you first call initFoo(), but then what? does anyone know
how to do this?

thanks,

bryan




More information about the Python-list mailing list