ObjFW  Diff

Differences From Artifact [d6f7c115da]:

To Artifact [68175f182a]:


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- (size_t)length
{
	return length;
}

- (OFString*)clone
{
	return [OFString newWithConstWideCString: string];
}

- (int)compareTo: (OFString*)str
{
	return wcscmp(string, [str wcString]);
}
@end







|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- (size_t)length
{
	return length;
}

- (OFString*)clone
{
	return [OFString newAsConstWideCString: string];
}

- (int)compareTo: (OFString*)str
{
	return wcscmp(string, [str wcString]);
}
@end