From 09f24bb408dec8d965596b568bfe65d5b7b76a0a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 24 Oct 2010 20:38:25 +0000 Subject: Issue #8761: Mangle PyUnicode_CompareWithASCIIString function name for narrow/wide unicode build. --- Include/unicodeobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 42da8c3..0a3cfc6 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -159,7 +159,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE; # define PyUnicode_AsWideCharString PyUnicodeUCS2_AsWideCharString # define PyUnicode_ClearFreeList PyUnicodeUCS2_ClearFreelist # define PyUnicode_Compare PyUnicodeUCS2_Compare -# define PyUnicode_CompareWithASCII PyUnicodeUCS2_CompareASCII +# define PyUnicode_CompareWithASCIIString PyUnicodeUCS2_CompareWithASCIIString # define PyUnicode_Concat PyUnicodeUCS2_Concat # define PyUnicode_Append PyUnicodeUCS2_Append # define PyUnicode_AppendAndDel PyUnicodeUCS2_AppendAndDel @@ -243,7 +243,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE; # define PyUnicode_AsWideCharString PyUnicodeUCS4_AsWideCharString # define PyUnicode_ClearFreeList PyUnicodeUCS4_ClearFreelist # define PyUnicode_Compare PyUnicodeUCS4_Compare -# define PyUnicode_CompareWithASCII PyUnicodeUCS4_CompareWithASCII +# define PyUnicode_CompareWithASCIIString PyUnicodeUCS4_CompareWithASCIIString # define PyUnicode_Concat PyUnicodeUCS4_Concat # define PyUnicode_Append PyUnicodeUCS4_Append # define PyUnicode_AppendAndDel PyUnicodeUCS4_AppendAndDel -- cgit v0.12