27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#import "OFURLEncoding.h"
#import "OFExceptions.h"
#import "OFMacros.h"
#import "asprintf.h"
/* Reference for static linking */
void _reference_to_OFURLEncoding_in_OFString()
{
_OFURLEncoding_reference = 1;
};
int
of_string_check_utf8(const char *str, size_t len)
{
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#import "OFURLEncoding.h"
#import "OFExceptions.h"
#import "OFMacros.h"
#import "asprintf.h"
/* Reference for static linking */
void _references_to_categories_of_OFString()
{
_OFURLEncoding_reference = 1;
};
int
of_string_check_utf8(const char *str, size_t len)
{
|
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
- setToCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
andSelector: _cmd];
}
- appendCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
andSelector: _cmd];
}
- appendString: (OFString*)str
{
|
>
>
>
>
>
>
|
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
|
- setToCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
andSelector: _cmd];
}
- appendCString: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
andSelector: _cmd];
}
- appendCStringWithoutUTF8Checking: (const char*)str
{
@throw [OFNotImplementedException newWithClass: isa
andSelector: _cmd];
}
- appendString: (OFString*)str
{
|