ObjFW  Diff

Differences From Artifact [da1cf273ef]:

To Artifact [d29d560858]:


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)







|







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] initWithString: self];
}

- setToCString: (const char*)str
{
	size_t len;

	if (string != NULL)