Differences From Artifact [2ecf3b040e]:
- File src/OFExceptions.m — part of check-in [0340b72d43] at 2008-10-25 23:53:55 on branch trunk — Allow OFNoMemException and OFOverflowException to have obj == nil. (user: js, size: 4201) [annotate] [blame] [check-ins using]
To Artifact [b3c8864639]:
- File src/OFExceptions.m — part of check-in [58e11df891] at 2008-10-26 12:05:17 on branch trunk — Actually test OFXMLFactory. (user: js, size: 4263) [annotate] [blame] [check-ins using]
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | + + | #import "OFExceptions.h" #if defined HAVE_SEL_GET_NAME #define SEL_NAME(x) sel_get_name(x) #elif defined HAVE_SEL_GETNAME #define SEL_NAME(x) sel_getName(x) #else #error "You need either sel_get_name() or sel_getName!" #endif @implementation OFException + newWithObject: (id)obj { return [[OFException alloc] initWithObject: obj]; } |
︙ |