]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Include/Python.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Include / Python.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Include/Python.h b/AppPkg/Applications/Python/Python-2.7.2/Include/Python.h
deleted file mode 100644 (file)
index 5abad47..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-#ifndef Py_PYTHON_H\r
-#define Py_PYTHON_H\r
-/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */\r
-\r
-/* Include nearly all Python header files */\r
-\r
-#include "patchlevel.h"\r
-#include "pyconfig.h"\r
-#include "pymacconfig.h"\r
-\r
-/* Cyclic gc is always enabled, starting with release 2.3a1.  Supply the\r
- * old symbol for the benefit of extension modules written before then\r
- * that may be conditionalizing on it.  The core doesn't use it anymore.\r
- */\r
-#ifndef WITH_CYCLE_GC\r
-#define WITH_CYCLE_GC 1\r
-#endif\r
-\r
-#include <limits.h>\r
-\r
-#ifndef UCHAR_MAX\r
-#error "Something's broken.  UCHAR_MAX should be defined in limits.h."\r
-#endif\r
-\r
-#if UCHAR_MAX != 255\r
-#error "Python's source code assumes C's unsigned char is an 8-bit type."\r
-#endif\r
-\r
-#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)\r
-#define _SGI_MP_SOURCE\r
-#endif\r
-\r
-#include <stdio.h>\r
-#ifndef NULL\r
-#   error "Python.h requires that stdio.h define NULL."\r
-#endif\r
-\r
-#include <string.h>\r
-#ifdef HAVE_ERRNO_H\r
-#include <errno.h>\r
-#endif\r
-#include <stdlib.h>\r
-#ifdef HAVE_UNISTD_H\r
-#include <unistd.h>\r
-#endif\r
-\r
-/* For size_t? */\r
-#ifdef HAVE_STDDEF_H\r
-#include <stddef.h>\r
-#endif\r
-\r
-/* CAUTION:  Build setups should ensure that NDEBUG is defined on the\r
- * compiler command line when building Python in release mode; else\r
- * assert() calls won't be removed.\r
- */\r
-#include <assert.h>\r
-\r
-#include "pyport.h"\r
-\r
-/* pyconfig.h or pyport.h may or may not define DL_IMPORT */\r
-#ifndef DL_IMPORT      /* declarations for DLL import/export */\r
-#define DL_IMPORT(RTYPE) RTYPE\r
-#endif\r
-#ifndef DL_EXPORT      /* declarations for DLL import/export */\r
-#define DL_EXPORT(RTYPE) RTYPE\r
-#endif\r
-\r
-/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.\r
- *  PYMALLOC_DEBUG is in error if pymalloc is not in use.\r
- */\r
-#if defined(Py_DEBUG) && defined(WITH_PYMALLOC) && !defined(PYMALLOC_DEBUG)\r
-#define PYMALLOC_DEBUG\r
-#endif\r
-#if defined(PYMALLOC_DEBUG) && !defined(WITH_PYMALLOC)\r
-#error "PYMALLOC_DEBUG requires WITH_PYMALLOC"\r
-#endif\r
-#include "pymath.h"\r
-#include "pymem.h"\r
-\r
-#include "object.h"\r
-#include "objimpl.h"\r
-\r
-#include "pydebug.h"\r
-\r
-#include "unicodeobject.h"\r
-#include "intobject.h"\r
-#include "boolobject.h"\r
-#include "longobject.h"\r
-#include "floatobject.h"\r
-#ifndef WITHOUT_COMPLEX\r
-#include "complexobject.h"\r
-#endif\r
-#include "rangeobject.h"\r
-#include "stringobject.h"\r
-#include "memoryobject.h"\r
-#include "bufferobject.h"\r
-#include "bytesobject.h"\r
-#include "bytearrayobject.h"\r
-#include "tupleobject.h"\r
-#include "listobject.h"\r
-#include "dictobject.h"\r
-#include "enumobject.h"\r
-#include "setobject.h"\r
-#include "methodobject.h"\r
-#include "moduleobject.h"\r
-#include "funcobject.h"\r
-#include "classobject.h"\r
-#include "fileobject.h"\r
-#include "cobject.h"\r
-#include "pycapsule.h"\r
-#include "traceback.h"\r
-#include "sliceobject.h"\r
-#include "cellobject.h"\r
-#include "iterobject.h"\r
-#include "genobject.h"\r
-#include "descrobject.h"\r
-#include "warnings.h"\r
-#include "weakrefobject.h"\r
-\r
-#include "codecs.h"\r
-#include "pyerrors.h"\r
-\r
-#include "pystate.h"\r
-\r
-#include "pyarena.h"\r
-#include "modsupport.h"\r
-#include "pythonrun.h"\r
-#include "ceval.h"\r
-#include "sysmodule.h"\r
-#include "intrcheck.h"\r
-#include "import.h"\r
-\r
-#include "abstract.h"\r
-\r
-#include "compile.h"\r
-#include "eval.h"\r
-\r
-#include "pyctype.h"\r
-#include "pystrtod.h"\r
-#include "pystrcmp.h"\r
-#include "dtoa.h"\r
-\r
-/* _Py_Mangle is defined in compile.c */\r
-PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);\r
-\r
-/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */\r
-#define PyArg_GetInt(v, a)     PyArg_Parse((v), "i", (a))\r
-\r
-/* PyArg_NoArgs should not be necessary.\r
-   Set ml_flags in the PyMethodDef to METH_NOARGS. */\r
-#define PyArg_NoArgs(v)                PyArg_Parse(v, "")\r
-\r
-/* Argument must be a char or an int in [-128, 127] or [0, 255]. */\r
-#define Py_CHARMASK(c)         ((unsigned char)((c) & 0xff))\r
-\r
-#include "pyfpe.h"\r
-\r
-/* These definitions must match corresponding definitions in graminit.h.\r
-   There's code in compile.c that checks that they are the same. */\r
-#define Py_single_input 256\r
-#define Py_file_input 257\r
-#define Py_eval_input 258\r
-\r
-#ifdef HAVE_PTH\r
-/* GNU pth user-space thread support */\r
-#include <pth.h>\r
-#endif\r
-\r
-/* Define macros for inline documentation. */\r
-#define PyDoc_VAR(name) static char name[]\r
-#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)\r
-#ifdef WITH_DOC_STRINGS\r
-#define PyDoc_STR(str) str\r
-#else\r
-#define PyDoc_STR(str) ""\r
-#endif\r
-\r
-#endif /* !Py_PYTHON_H */\r