Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4dbb86 commit 4327910Copy full SHA for 4327910
1 file changed
Include/unicodeobject.h
@@ -107,6 +107,17 @@ typedef unsigned short Py_UNICODE;
107
108
#endif
109
110
+/*
111
+ * Use this typedef when you need to represent a UTF-16 surrogate pair
112
+ * as single unsigned integer.
113
+ */
114
+#if SIZEOF_INT >= 4
115
+typedef unsigned int Py_UCS4;
116
+#elif SIZEOF_LONG >= 4
117
+typedef unsigned long Py_UCS4;
118
+#endif
119
+
120
121
/* --- Internal Unicode Operations ---------------------------------------- */
122
123
/* If you want Python to use the compiler's wctype.h functions instead
0 commit comments