Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
As of version 10.5.4, we use the uint data type to store flags like MY_REPERTOIRE_ASCII, MY_REPERTOIRE_EXTENDED, etc.
For stricter data type control, let's add a separate enum-based data type as follows:
typedef enum enum_repertoire_t |
{
|
MY_REPERTOIRE_NONE= 0,
|
MY_REPERTOIRE_ASCII= 1, /* Pure ASCII U+0000..U+007F */ |
MY_REPERTOIRE_EXTENDED= 2, /* Extended characters: U+0080..U+FFFF */ |
MY_REPERTOIRE_UNICODE30= 3 /* ASCII | EXTENDED: U+0000..U+FFFF */ |
} my_repertoire_t;
|
and fix the related classes and routines to use the new data type.