summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/ucs4lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringlib/ucs4lib.h')
-rw-r--r--Objects/stringlib/ucs4lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/ucs4lib.h b/Objects/stringlib/ucs4lib.h
index eda0feb..647a27e 100644
--- a/Objects/stringlib/ucs4lib.h
+++ b/Objects/stringlib/ucs4lib.h
@@ -7,6 +7,7 @@
#define STRINGLIB(F) ucs4lib_##F
#define STRINGLIB_OBJECT PyUnicodeObject
#define STRINGLIB_SIZEOF_CHAR 4
+#define STRINGLIB_MAX_CHAR 0x10FFFFu
#define STRINGLIB_CHAR Py_UCS4
#define STRINGLIB_TYPE_NAME "unicode"
#define STRINGLIB_PARSE_CODE "U"