Differences From Artifact [529e251348]:
- File src/OFObject.m — part of check-in [9a881883be] at 2010-01-03 17:22:05 on branch trunk — Add OFFastEnumeration protocol and OFEnumerationMutationException. (user: js, size: 11567) [annotate] [blame] [check-ins using]
To Artifact [c5b8c0b3b5]:
- File src/OFObject.m — part of check-in [2c40c95434] at 2010-01-03 18:48:26 on branch trunk — Check for objc_enumerationMutation and provide it if it's missing. (user: js, size: 11675) [annotate] [blame] [check-ins using]
︙ | |||
43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + + + + | static struct { Class isa; } alloc_failed_exception; #ifdef NEED_OBJC_SYNC_INIT extern BOOL objc_sync_init(); #endif #ifndef HAVE_OBJC_ENUMERATIONMUTATION #define enumeration_mutation_handler objc_enumerationMutation #endif void enumeration_mutation_handler(id object) { @throw [OFEnumerationMutationException newWithClass: [object class]]; } |
︙ |