Differences From Artifact [cf1b1da641]:
- File
src/OFDate.m
— part of check-in
[3d8286feee]
at
2020-11-04 23:18:25
on branch trunk
— Remove of_free()
While it makes sense to wrap malloc and calloc to replace the error
checking with exceptions, it does not make sense to wrap free. (user: js, size: 20087) [annotate] [blame] [check-ins using] [more...]
To Artifact [2f04475c25]:
- File
src/OFDate.m
— part of check-in
[627511b032]
at
2020-11-14 12:23:55
on branch trunk
— Rename of_malloc and of_calloc
The new names should be more accurate. (user: js, size: 20085) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
775 776 777 778 779 780 781 | } @finally { [mutex unlock]; } # endif #endif pageSize = [OFSystemInfo pageSize]; | | | 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 | } @finally { [mutex unlock]; } # endif #endif pageSize = [OFSystemInfo pageSize]; buffer = of_alloc(1, pageSize); @try { #ifndef OF_WINDOWS if (strftime(buffer, pageSize, format.UTF8String, &tm) == 0) @throw [OFOutOfRangeException exception]; ret = [OFString stringWithUTF8String: buffer]; #else |
︙ | ︙ | |||
835 836 837 838 839 840 841 | } @finally { [mutex unlock]; } # endif #endif pageSize = [OFSystemInfo pageSize]; | | | 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 | } @finally { [mutex unlock]; } # endif #endif pageSize = [OFSystemInfo pageSize]; buffer = of_alloc(1, pageSize); @try { #ifndef OF_WINDOWS if (strftime(buffer, pageSize, format.UTF8String, &tm) == 0) @throw [OFOutOfRangeException exception]; ret = [OFString stringWithUTF8String: buffer]; #else |
︙ | ︙ |