Staging
v0.8.1
https://github.com/python/cpython
Revision a50cfac1f8d33992eea6472c1ed9a52f8324b62a authored by Tarek Ziadé on 21 September 2009, 12:20:01 UTC, committed by Tarek Ziadé on 21 September 2009, 12:20:01 UTC
........
  r74988 | tarek.ziade | 2009-09-21 14:19:07 +0200 (Mon, 21 Sep 2009) | 1 line

  improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch)
........
1 parent 0108ed3
Raw File
Tip revision: a50cfac1f8d33992eea6472c1ed9a52f8324b62a authored by Tarek Ziadé on 21 September 2009, 12:20:01 UTC
Blocked revisions 74988 via svnmerge
Tip revision: a50cfac
moduleobject.h

/* Module object interface */

#ifndef Py_MODULEOBJECT_H
#define Py_MODULEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PyModule_Type;

#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
#define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)

PyAPI_FUNC(PyObject *) PyModule_New(const char *);
PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
PyAPI_FUNC(char *) PyModule_GetName(PyObject *);
PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *);
PyAPI_FUNC(void) _PyModule_Clear(PyObject *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_MODULEOBJECT_H */
back to top