]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Include/moduleobject.h
AppPkg/Applications/Python/Python-2.7.10: Initial Checkin part 1/5.
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Include / moduleobject.h
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Include/moduleobject.h b/AppPkg/Applications/Python/Python-2.7.10/Include/moduleobject.h
new file mode 100644 (file)
index 0000000..ff16ad2
--- /dev/null
@@ -0,0 +1,24 @@
+\r
+/* Module object interface */\r
+\r
+#ifndef Py_MODULEOBJECT_H\r
+#define Py_MODULEOBJECT_H\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+PyAPI_DATA(PyTypeObject) PyModule_Type;\r
+\r
+#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)\r
+#define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)\r
+\r
+PyAPI_FUNC(PyObject *) PyModule_New(const char *);\r
+PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);\r
+PyAPI_FUNC(char *) PyModule_GetName(PyObject *);\r
+PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *);\r
+PyAPI_FUNC(void) _PyModule_Clear(PyObject *);\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+#endif /* !Py_MODULEOBJECT_H */\r