Staging
v0.8.1
https://github.com/python/cpython
Revision bba2ba180de91177a73d28551dce71696d472c47 authored by Steve Dower on 14 April 2018, 21:50:40 UTC, committed by Benjamin Peterson on 14 April 2018, 22:04:21 UTC
closes https://github.com/python/cpython/pull/6474
1 parent 01a0fd4
Raw File
Tip revision: bba2ba180de91177a73d28551dce71696d472c47 authored by Steve Dower on 14 April 2018, 21:50:40 UTC
bpo-33148: Update Windows build to use OpenSSL 1.0.2o
Tip revision: bba2ba1
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