ObjFW  Diff

Differences From Artifact [ac1b639bcb]:

To Artifact [e3d5101e79]:


766
767
768
769
770
771
772



773
774
775
776
777
778
779
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782







+
+
+







{
	return string;
}

- (size_t)length
{
	/* FIXME: Maybe cache this in an ivar? */

	if (![self isUTF8])
		return length;

	return of_string_position_to_index(string, length);
}

- (size_t)cStringLength
{
	return length;