Differences From Artifact [27ec58b2db]:
- File src/OFNumber.m — part of check-in [5ca844dd3b] at 2014-02-28 00:41:27 on branch trunk — Make MinGW32 and MinGW-w64 happy at the same time (user: js, size: 36420) [annotate] [blame] [check-ins using]
To Artifact [f23f2bec10]:
- File
src/OFNumber.m
— part of check-in
[13ee56edf3]
at
2014-06-21 21:43:43
on branch trunk
— Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. (user: js, size: 36376) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #import "OFXMLAttribute.h" #import "OFDataArray.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" | < < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #import "OFXMLAttribute.h" #import "OFDataArray.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" #import "OFOutOfRangeException.h" #define RETURN_AS(t) \ switch (_type) { \ case OF_NUMBER_BOOL: \ return (t)_value.bool_; \ case OF_NUMBER_CHAR: \ return (t)_value.schar; \ case OF_NUMBER_SHORT: \ |
︙ | ︙ |