Staging
v0.5.1
https://github.com/python/cpython
Revision cdeb24bb05359ec7550c327f44e8b1f346b9d776 authored by Brett Cannon on 05 September 2008, 22:59:17 UTC, committed by Brett Cannon on 05 September 2008, 22:59:17 UTC
clashes with what Python's build target did. Rename the target to 'patchcheck'
to avoid the culture clash.

Closes issue 3758.
Reviewed by Benjamin Peterson.
1 parent 187ac1b
Raw File
Tip revision: cdeb24bb05359ec7550c327f44e8b1f346b9d776 authored by Brett Cannon on 05 September 2008, 22:59:17 UTC
GNU coding guidelines say that ``make check`` should verify the build. That
Tip revision: cdeb24b
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