]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Include/sliceobject.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Include / sliceobject.h
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Include/sliceobject.h b/AppPkg/Applications/Python/Python-2.7.2/Include/sliceobject.h
deleted file mode 100644 (file)
index 469921a..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef Py_SLICEOBJECT_H\r
-#define Py_SLICEOBJECT_H\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-/* The unique ellipsis object "..." */\r
-\r
-PyAPI_DATA(PyObject) _Py_EllipsisObject; /* Don't use this directly */\r
-\r
-#define Py_Ellipsis (&_Py_EllipsisObject)\r
-\r
-/* Slice object interface */\r
-\r
-/*\r
-\r
-A slice object containing start, stop, and step data members (the\r
-names are from range).  After much talk with Guido, it was decided to\r
-let these be any arbitrary python type.  Py_None stands for omitted values.\r
-*/\r
-\r
-typedef struct {\r
-    PyObject_HEAD\r
-    PyObject *start, *stop, *step;     /* not NULL */\r
-} PySliceObject;\r
-\r
-PyAPI_DATA(PyTypeObject) PySlice_Type;\r
-PyAPI_DATA(PyTypeObject) PyEllipsis_Type;\r
-\r
-#define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type)\r
-\r
-PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop,\r
-                                  PyObject* step);\r
-PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop);\r
-PyAPI_FUNC(int) PySlice_GetIndices(PySliceObject *r, Py_ssize_t length,\r
-                                  Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);\r
-PyAPI_FUNC(int) PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length,\r
-                                   Py_ssize_t *start, Py_ssize_t *stop, \r
-                                   Py_ssize_t *step, Py_ssize_t *slicelength);\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-#endif /* !Py_SLICEOBJECT_H */\r