diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-10-31 07:40:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-10-31 07:40:56 (GMT) |
commit | 0d3072e98d9be9cfcdccefd60dbaca2c19e8d889 (patch) | |
tree | 51242c3dae4a06b7351d8a4413dfc786a29fff7c /Include | |
parent | a72e78b3b137f0ba811761b70dec9637e3d2f37d (diff) | |
download | cpython-0d3072e98d9be9cfcdccefd60dbaca2c19e8d889.zip cpython-0d3072e98d9be9cfcdccefd60dbaca2c19e8d889.tar.gz cpython-0d3072e98d9be9cfcdccefd60dbaca2c19e8d889.tar.bz2 |
Drop Py_UCS4_ functions. Closes #13246.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/unicodeobject.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 592f4dd..6e613eb 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1984,43 +1984,6 @@ PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strrchr( Py_UNICODE c ); -PyAPI_FUNC(size_t) Py_UCS4_strlen( - const Py_UCS4 *u - ); - -PyAPI_FUNC(Py_UCS4*) Py_UCS4_strcpy( - Py_UCS4 *s1, - const Py_UCS4 *s2); - -PyAPI_FUNC(Py_UCS4*) Py_UCS4_strcat( - Py_UCS4 *s1, const Py_UCS4 *s2); - -PyAPI_FUNC(Py_UCS4*) Py_UCS4_strncpy( - Py_UCS4 *s1, - const Py_UCS4 *s2, - size_t n); - -PyAPI_FUNC(int) Py_UCS4_strcmp( - const Py_UCS4 *s1, - const Py_UCS4 *s2 - ); - -PyAPI_FUNC(int) Py_UCS4_strncmp( - const Py_UCS4 *s1, - const Py_UCS4 *s2, - size_t n - ); - -PyAPI_FUNC(Py_UCS4*) Py_UCS4_strchr( - const Py_UCS4 *s, - Py_UCS4 c - ); - -PyAPI_FUNC(Py_UCS4*) Py_UCS4_strrchr( - const Py_UCS4 *s, - Py_UCS4 c - ); - /* Create a copy of a unicode string ending with a nul character. Return NULL and raise a MemoryError exception on memory allocation failure, otherwise return a new allocated buffer (use PyMem_Free() to free the buffer). */ |