83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
* for each constant string. We change the const char* to point to our
* struct on the first call to a constant string so we can have more
* than those two ivars.
*/
struct of_string_ivars {
char *cString;
size_t cStringLength;
BOOL isUTF8;
size_t length;
} *restrict s;
/*
* Unused in OFString, however, OFConstantString sets this to SIZE_MAX
* once it allocated and initialized the struct.
*/
size_t initialized;
|
|
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
* for each constant string. We change the const char* to point to our
* struct on the first call to a constant string so we can have more
* than those two ivars.
*/
struct of_string_ivars {
char *cString;
size_t cStringLength;
BOOL UTF8;
size_t length;
} *restrict s;
/*
* Unused in OFString, however, OFConstantString sets this to SIZE_MAX
* once it allocated and initialized the struct.
*/
size_t initialized;
|