]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Include/boolobject.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Include / boolobject.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Include/boolobject.h b/AppPkg/Applications/Python/Python-2.7.2/Include/boolobject.h
deleted file mode 100644 (file)
index 9dd0e43..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Boolean object interface */\r
-\r
-#ifndef Py_BOOLOBJECT_H\r
-#define Py_BOOLOBJECT_H\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-\r
-typedef PyIntObject PyBoolObject;\r
-\r
-PyAPI_DATA(PyTypeObject) PyBool_Type;\r
-\r
-#define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type)\r
-\r
-/* Py_False and Py_True are the only two bools in existence.\r
-Don't forget to apply Py_INCREF() when returning either!!! */\r
-\r
-/* Don't use these directly */\r
-PyAPI_DATA(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;\r
-\r
-/* Use these macros */\r
-#define Py_False ((PyObject *) &_Py_ZeroStruct)\r
-#define Py_True ((PyObject *) &_Py_TrueStruct)\r
-\r
-/* Macros for returning Py_True or Py_False, respectively */\r
-#define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True\r
-#define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False\r
-\r
-/* Function to return a bool from a C long */\r
-PyAPI_FUNC(PyObject *) PyBool_FromLong(long);\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-#endif /* !Py_BOOLOBJECT_H */\r