python-2.7.6/include/moduleobject.h Source File
Go to the documentation of this file.
4 #ifndef Py_MODULEOBJECT_H
5 #define Py_MODULEOBJECT_H
12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
13 #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)
17 PyAPI_FUNC(
char *) PyModule_GetName(PyObject *);
18 PyAPI_FUNC(
char *) PyModule_GetFilename(PyObject *);
PyAPI_FUNC(PyObject *) PyModule_New(const char *)
PyAPI_DATA(PyTypeObject) PyModule_Type