extending python with a C-written dll

Fredrik Lundh fredrik at pythonware.com
Mon Dec 20 16:42:43 EST 2004


John Machin wrote:

> By the way, lcc also *appears* to change "...Module3" to "...Module4" :-)

$ more Include/modsupport.h

...

#define Py_InitModule3(name, methods, doc) \
        Py_InitModule4(name, methods, doc, (PyObject *)NULL, \
                       PYTHON_API_VERSION)

...

</F> 






More information about the Python-list mailing list