ObjFW  Diff

Differences From Artifact [4902be8d2e]:

To Artifact [e96c8158b3]:

  • File src/unicode.h — part of check-in [c5b3c8ea87] at 2017-05-14 14:18:26 on branch trunk — Add nullability annotations to remaining headers

    This explicitly excludes threading.h, as adding nullability annotations
    requires adding them everywhere in the file. However, the types in there
    are implementation defined, and might be pointers or not: Adding none
    when it's a pointer would be an error, and adding one when it's not a
    pointer would be an error, too. (user: js, size: 1289) [annotate] [blame] [check-ins using]


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#define OF_UNICODE_LOWERCASE_TABLE_SIZE 0x1EA
#define OF_UNICODE_TITLECASE_TABLE_SIZE 0x1EA
#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x1EA

#ifdef __cplusplus
extern "C" {
#endif
extern const of_unichar_t *const
    of_unicode_uppercase_table[OF_UNICODE_UPPERCASE_TABLE_SIZE];
extern const of_unichar_t *const
    of_unicode_lowercase_table[OF_UNICODE_LOWERCASE_TABLE_SIZE];
extern const of_unichar_t *const
    of_unicode_titlecase_table[OF_UNICODE_TITLECASE_TABLE_SIZE];
extern const of_unichar_t *const
    of_unicode_casefolding_table[OF_UNICODE_CASEFOLDING_TABLE_SIZE];
#ifdef __cplusplus
}
#endif







|

|

|

|




20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#define OF_UNICODE_LOWERCASE_TABLE_SIZE 0x1EA
#define OF_UNICODE_TITLECASE_TABLE_SIZE 0x1EA
#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x1EA

#ifdef __cplusplus
extern "C" {
#endif
extern const of_unichar_t *const _Nonnull
    of_unicode_uppercase_table[OF_UNICODE_UPPERCASE_TABLE_SIZE];
extern const of_unichar_t *const _Nonnull
    of_unicode_lowercase_table[OF_UNICODE_LOWERCASE_TABLE_SIZE];
extern const of_unichar_t *const _Nonnull
    of_unicode_titlecase_table[OF_UNICODE_TITLECASE_TABLE_SIZE];
extern const of_unichar_t *const _Nonnull
    of_unicode_casefolding_table[OF_UNICODE_CASEFOLDING_TABLE_SIZE];
#ifdef __cplusplus
}
#endif