Merged release21-maint changes.
[python/dscho.git] / Include / moduleobject.h
blob00a23aae207a384926fc8b58bfbb7959ea1e3ccc
2 /* Module object interface */
4 #ifndef Py_MODULEOBJECT_H
5 #define Py_MODULEOBJECT_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 extern DL_IMPORT(PyTypeObject) PyModule_Type;
12 #define PyModule_Check(op) ((op)->ob_type == &PyModule_Type)
14 extern DL_IMPORT(PyObject *) PyModule_New(char *);
15 extern DL_IMPORT(PyObject *) PyModule_GetDict(PyObject *);
16 extern DL_IMPORT(char *) PyModule_GetName(PyObject *);
17 extern DL_IMPORT(char *) PyModule_GetFilename(PyObject *);
18 extern DL_IMPORT(void) _PyModule_Clear(PyObject *);
20 #ifdef __cplusplus
22 #endif
23 #endif /* !Py_MODULEOBJECT_H */