28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
extern size_t of_string_utf8_to_unicode(const char*, size_t, of_unichar_t*);
extern size_t of_string_position_to_index(const char*, size_t);
extern size_t of_string_index_to_position(const char*, size_t, size_t);
@class OFArray;
/**
* A class for managing strings.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying>
{
char *string;
unsigned int length;
#if defined(OF_APPLE_RUNTIME) && __LP64__
int _unused;
|
|
|
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
extern size_t of_string_utf8_to_unicode(const char*, size_t, of_unichar_t*);
extern size_t of_string_position_to_index(const char*, size_t);
extern size_t of_string_index_to_position(const char*, size_t, size_t);
@class OFArray;
/**
* \brief A class for handling strings.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying>
{
char *string;
unsigned int length;
#if defined(OF_APPLE_RUNTIME) && __LP64__
int _unused;
|