summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/ucs2lib.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-28 20:20:48 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-28 20:20:48 (GMT)
commite57b1c0da18c20dae31fdc6cda7c9e2cb3b07bff (patch)
treef6020e47a80c3b0e4ec626612ead9fbdf1c3647d /Objects/stringlib/ucs2lib.h
parentff9e50fd047399873059328d992db0bfe32bfe10 (diff)
downloadcpython-e57b1c0da18c20dae31fdc6cda7c9e2cb3b07bff.zip
cpython-e57b1c0da18c20dae31fdc6cda7c9e2cb3b07bff.tar.gz
cpython-e57b1c0da18c20dae31fdc6cda7c9e2cb3b07bff.tar.bz2
Mark PyUnicode_FromUCS[124] as private
Diffstat (limited to 'Objects/stringlib/ucs2lib.h')
-rw-r--r--Objects/stringlib/ucs2lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/ucs2lib.h b/Objects/stringlib/ucs2lib.h
index 1bb9c27..fc62fb7 100644
--- a/Objects/stringlib/ucs2lib.h
+++ b/Objects/stringlib/ucs2lib.h
@@ -19,7 +19,7 @@
#define STRINGLIB_FILL Py_UNICODE_FILL
#define STRINGLIB_STR PyUnicode_1BYTE_DATA
#define STRINGLIB_LEN PyUnicode_GET_LENGTH
-#define STRINGLIB_NEW PyUnicode_FromUCS2
+#define STRINGLIB_NEW _PyUnicode_FromUCS2
#define STRINGLIB_RESIZE not_supported
#define STRINGLIB_CHECK PyUnicode_Check
#define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact