31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef HAVE_ASPRINTF
#import "asprintf.h"
#endif
@implementation OFMutableString
- (id)copy
{
return [OFString stringWithCString: string];
}
- setToCString: (const char*)str
{
size_t len;
if (string != NULL)
|
|
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef HAVE_ASPRINTF
#import "asprintf.h"
#endif
@implementation OFMutableString
- (id)copy
{
return [[OFString alloc] initWithCString: string];
}
- setToCString: (const char*)str
{
size_t len;
if (string != NULL)
|