]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Include/bytes_methods.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Include / bytes_methods.h
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Include/bytes_methods.h b/AppPkg/Applications/Python/Python-2.7.10/Include/bytes_methods.h
deleted file mode 100644 (file)
index 64ba0aa..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#ifndef Py_BYTES_CTYPE_H\r
-#define Py_BYTES_CTYPE_H\r
-\r
-/*\r
- * The internal implementation behind PyString (bytes) and PyBytes (buffer)\r
- * methods of the given names, they operate on ASCII byte strings.\r
- */\r
-extern PyObject* _Py_bytes_isspace(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_isalpha(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_isalnum(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_isdigit(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_islower(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_isupper(const char *cptr, Py_ssize_t len);\r
-extern PyObject* _Py_bytes_istitle(const char *cptr, Py_ssize_t len);\r
-\r
-/* These store their len sized answer in the given preallocated *result arg. */\r
-extern void _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len);\r
-extern void _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len);\r
-extern void _Py_bytes_title(char *result, char *s, Py_ssize_t len);\r
-extern void _Py_bytes_capitalize(char *result, char *s, Py_ssize_t len);\r
-extern void _Py_bytes_swapcase(char *result, char *s, Py_ssize_t len);\r
-\r
-/* Shared __doc__ strings. */\r
-extern const char _Py_isspace__doc__[];\r
-extern const char _Py_isalpha__doc__[];\r
-extern const char _Py_isalnum__doc__[];\r
-extern const char _Py_isdigit__doc__[];\r
-extern const char _Py_islower__doc__[];\r
-extern const char _Py_isupper__doc__[];\r
-extern const char _Py_istitle__doc__[];\r
-extern const char _Py_lower__doc__[];\r
-extern const char _Py_upper__doc__[];\r
-extern const char _Py_title__doc__[];\r
-extern const char _Py_capitalize__doc__[];\r
-extern const char _Py_swapcase__doc__[];\r
-\r
-/* These are left in for backward compatibility and will be removed\r
-   in 2.8/3.2 */\r
-#define ISLOWER(c)  Py_ISLOWER(c)\r
-#define ISUPPER(c)  Py_ISUPPER(c)\r
-#define ISALPHA(c)  Py_ISALPHA(c)\r
-#define ISDIGIT(c)  Py_ISDIGIT(c)\r
-#define ISXDIGIT(c) Py_ISXDIGIT(c)\r
-#define ISALNUM(c)  Py_ISALNUM(c)\r
-#define ISSPACE(c)  Py_ISSPACE(c)\r
-\r
-#undef islower\r
-#define islower(c) undefined_islower(c)\r
-#undef isupper\r
-#define isupper(c) undefined_isupper(c)\r
-#undef isalpha\r
-#define isalpha(c) undefined_isalpha(c)\r
-#undef isdigit\r
-#define isdigit(c) undefined_isdigit(c)\r
-#undef isxdigit\r
-#define isxdigit(c) undefined_isxdigit(c)\r
-#undef isalnum\r
-#define isalnum(c) undefined_isalnum(c)\r
-#undef isspace\r
-#define isspace(c) undefined_isspace(c)\r
-\r
-/* These are left in for backward compatibility and will be removed\r
-   in 2.8/3.2 */\r
-#define TOLOWER(c) Py_TOLOWER(c)\r
-#define TOUPPER(c) Py_TOUPPER(c)\r
-\r
-#undef tolower\r
-#define tolower(c) undefined_tolower(c)\r
-#undef toupper\r
-#define toupper(c) undefined_toupper(c)\r
-\r
-/* this is needed because some docs are shared from the .o, not static */\r
-#define PyDoc_STRVAR_shared(name,str) const char name[] = PyDoc_STR(str)\r
-\r
-#endif /* !Py_BYTES_CTYPE_H */\r