extending python with a C-written dll

Fredrik Lundh fredrik at pythonware.com
Mon Dec 20 22:42:43 CET 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