ObjFW  Diff

Differences From Artifact [19d4bb0975]:

To Artifact [5d478c6564]:


1022
1023
1024
1025
1026
1027
1028












1029
			@throw [OFOutOfRangeException newWithClass: isa];

		num = newnum;
	}

	return num;
}












@end







>
>
>
>
>
>
>
>
>
>
>
>

1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
			@throw [OFOutOfRangeException newWithClass: isa];

		num = newnum;
	}

	return num;
}

- (void)writeToFile: (OFString*)path
{
	OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
	OFFile *file;

	file = [OFFile fileWithPath: path
			       mode: @"wb"];
	[file writeString: self];

	[pool release];
}
@end