Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/mingw32/Python27/include/moduleobject.h @ 87:2a2c65a20a8b
Add Python libs and headers
author | Chris Cannam |
---|---|
date | Wed, 25 Feb 2015 14:05:22 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
86:413a9d26189e | 87:2a2c65a20a8b |
---|---|
1 | |
2 /* Module object interface */ | |
3 | |
4 #ifndef Py_MODULEOBJECT_H | |
5 #define Py_MODULEOBJECT_H | |
6 #ifdef __cplusplus | |
7 extern "C" { | |
8 #endif | |
9 | |
10 PyAPI_DATA(PyTypeObject) PyModule_Type; | |
11 | |
12 #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) | |
13 #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type) | |
14 | |
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 *); | |
20 | |
21 #ifdef __cplusplus | |
22 } | |
23 #endif | |
24 #endif /* !Py_MODULEOBJECT_H */ |