Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09f24bb

Browse files
author
Victor Stinner
committed
Issue #8761: Mangle PyUnicode_CompareWithASCIIString function name for
narrow/wide unicode build.
1 parent df6d6cb commit 09f24bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/unicodeobject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
159159
# define PyUnicode_AsWideCharString PyUnicodeUCS2_AsWideCharString
160160
# define PyUnicode_ClearFreeList PyUnicodeUCS2_ClearFreelist
161161
# define PyUnicode_Compare PyUnicodeUCS2_Compare
162-
# define PyUnicode_CompareWithASCII PyUnicodeUCS2_CompareASCII
162+
# define PyUnicode_CompareWithASCIIString PyUnicodeUCS2_CompareWithASCIIString
163163
# define PyUnicode_Concat PyUnicodeUCS2_Concat
164164
# define PyUnicode_Append PyUnicodeUCS2_Append
165165
# define PyUnicode_AppendAndDel PyUnicodeUCS2_AppendAndDel
@@ -243,7 +243,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
243243
# define PyUnicode_AsWideCharString PyUnicodeUCS4_AsWideCharString
244244
# define PyUnicode_ClearFreeList PyUnicodeUCS4_ClearFreelist
245245
# define PyUnicode_Compare PyUnicodeUCS4_Compare
246-
# define PyUnicode_CompareWithASCII PyUnicodeUCS4_CompareWithASCII
246+
# define PyUnicode_CompareWithASCIIString PyUnicodeUCS4_CompareWithASCIIString
247247
# define PyUnicode_Concat PyUnicodeUCS4_Concat
248248
# define PyUnicode_Append PyUnicodeUCS4_Append
249249
# define PyUnicode_AppendAndDel PyUnicodeUCS4_AppendAndDel

0 commit comments

Comments
 (0)