Fix cell_as_unicode

This commit is contained in:
Kovid Goyal
2024-10-26 13:34:28 +05:30
parent 1481fb4fe9
commit 7ff7947ab3
2 changed files with 5 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ static inline PyObject* Py_XNewRef(PyObject *o) { Py_XINCREF(o); return o; }
typedef unsigned long long id_type;
typedef uint32_t char_type;
static_assert(sizeof(Py_UCS4) == sizeof(char_type), "PyUCS4 and char_type dont match");
#define MAX_CHAR_TYPE_VALUE UINT32_MAX
typedef uint32_t color_type;
typedef uint16_t hyperlink_id_type;