Kaydet (Commit) a70d1600 authored tarafından Guido van Rossum's avatar Guido van Rossum

Define new macro Py_InitModule3(name, methods, doc) which calls

Py_InitModule4() with appropriate arguments.
üst 75e9fc31
......@@ -111,6 +111,10 @@ extern PyObject *Py_InitModule4 Py_PROTO((char *, PyMethodDef *,
Py_InitModule4(name, methods, (char *)NULL, (PyObject *)NULL, \
PYTHON_API_VERSION)
#define Py_InitModule3(name, methods, doc) \
Py_InitModule4(name, methods, doc, (PyObject *)NULL, \
PYTHON_API_VERSION)
extern char *_Py_PackageContext;
#ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment