summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2002-08-12 08:19:10 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2002-08-12 08:19:10 (GMT)
commit9c329de47e552bb0be7880350233448123eebb1f (patch)
tree2b31e10668b8f320dd50b57e7eb5a6326667b0fc
parent91a681debf9ffec155d0aff8a0bb5f965f592e16 (diff)
downloadcpython-9c329de47e552bb0be7880350233448123eebb1f.zip
cpython-9c329de47e552bb0be7880350233448123eebb1f.tar.gz
cpython-9c329de47e552bb0be7880350233448123eebb1f.tar.bz2
Add name mangling for new PyUnicode_FromOrdinal() and fix declaration
to use new extern macro.
-rw-r--r--Include/unicodeobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 5e259ba..24e59de 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -174,6 +174,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
# define PyUnicode_Format PyUnicodeUCS2_Format
# define PyUnicode_FromEncodedObject PyUnicodeUCS2_FromEncodedObject
# define PyUnicode_FromObject PyUnicodeUCS2_FromObject
+# define PyUnicode_FromOrdinal PyUnicodeUCS2_FromOrdinal
# define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode
# define PyUnicode_FromWideChar PyUnicodeUCS2_FromWideChar
# define PyUnicode_GetDefaultEncoding PyUnicodeUCS2_GetDefaultEncoding
@@ -244,6 +245,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
# define PyUnicode_Format PyUnicodeUCS4_Format
# define PyUnicode_FromEncodedObject PyUnicodeUCS4_FromEncodedObject
# define PyUnicode_FromObject PyUnicodeUCS4_FromObject
+# define PyUnicode_FromOrdinal PyUnicodeUCS4_FromOrdinal
# define PyUnicode_FromUnicode PyUnicodeUCS4_FromUnicode
# define PyUnicode_FromWideChar PyUnicodeUCS4_FromWideChar
# define PyUnicode_GetDefaultEncoding PyUnicodeUCS4_GetDefaultEncoding
@@ -527,7 +529,7 @@ PyAPI_FUNC(int) PyUnicode_AsWideChar(
*/
-extern DL_IMPORT(PyObject*) PyUnicode_FromOrdinal(int ordinal);
+PyAPI_FUNC(PyObject*) PyUnicode_FromOrdinal(int ordinal);
/* === Builtin Codecs =====================================================