Reset the doc date to today for the automatic doc builds
[python.git] / Include / moduleobject.h
blob3d278af8736caa9243b57635467176d227aa012f
2 /* Module object interface */
4 #ifndef Py_MODULEOBJECT_H
5 #define Py_MODULEOBJECT_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 PyAPI_DATA(PyTypeObject) PyModule_Type;
12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
13 #define PyModule_CheckExact(op) ((op)->ob_type == &PyModule_Type)
15 PyAPI_FUNC(PyObject *) PyModule_New(const char *);
16 PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
17 PyAPI_FUNC(char *) PyModule_GetName(PyObject *);
18 PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *);
19 PyAPI_FUNC(void) _PyModule_Clear(PyObject *);
21 #ifdef __cplusplus
23 #endif
24 #endif /* !Py_MODULEOBJECT_H */