[Python-checkins] r85827 - python/branches/py3k/Include/unicodeobject.h

victor.stinner python-checkins at python.org
Sun Oct 24 22:38:25 CEST 2010


Author: victor.stinner
Date: Sun Oct 24 22:38:25 2010
New Revision: 85827

Log:
Issue #8761: Mangle PyUnicode_CompareWithASCIIString function name for
narrow/wide unicode build.


Modified:
   python/branches/py3k/Include/unicodeobject.h

Modified: python/branches/py3k/Include/unicodeobject.h
==============================================================================
--- python/branches/py3k/Include/unicodeobject.h	(original)
+++ python/branches/py3k/Include/unicodeobject.h	Sun Oct 24 22:38:25 2010
@@ -159,7 +159,7 @@
 # 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 @@
 # 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


More information about the Python-checkins mailing list