+typedef enum unicode_linestyle +{ + UNICODE_LINESTYLE_SINGLE = 0, /* to make sure someone initializes this */ + UNICODE_LINESTYLE_DOUBLE = 1 +} unicode_linestyle;
Why are the values defined explicitly? These values are set by the compiled automatically, so why set them manually? Only a few of the other enums are defined explicitly, and most of them have to do that to define different values (e.g. 0x01, 0x02, 0x04, ...).
this is useless - I removed it.
I don't understand how the comment "to make sure someone initializes this" explains the purpose?