Overview
Comment: | Fix forgotten static for enumeration_mutation_handler. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c46f6095781a207d2da0c70517687b1e |
User & Date: | js on 2010-01-04 00:18:11 |
Other Links: | manifest | tags |
Context
2010-01-04
| ||
14:04 | Make -[readLineWithEncoding:] more fault tolerant. check-in: 32d166557b user: js tags: trunk | |
00:18 | Fix forgotten static for enumeration_mutation_handler. check-in: c46f609578 user: js tags: trunk | |
2010-01-03
| ||
21:08 | Implement Fast Enumeration for OFDictionary. check-in: b110e218cb user: js tags: trunk | |
Changes
Modified src/OFObject.m from [5be7057eec] to [42e8feff00].
︙ | ︙ | |||
43 44 45 46 47 48 49 50 | static struct { Class isa; } alloc_failed_exception; #ifdef NEED_OBJC_SYNC_INIT extern BOOL objc_sync_init(); #endif | | | < | > > > > | | > | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | static struct { Class isa; } alloc_failed_exception; #ifdef NEED_OBJC_SYNC_INIT extern BOOL objc_sync_init(); #endif static void enumeration_mutation_handler(id obj) { @throw [OFEnumerationMutationException newWithClass: [obj class]]; } #ifndef HAVE_OBJC_ENUMERATIONMUTATION void objc_enumerationMutation(id obj) { enumeration_mutation_handler(obj); } #endif @implementation OFObject + (void)load { #ifdef NEED_OBJC_SYNC_INIT if (!objc_sync_init()) { fputs("Runtime error: objc_sync_init() failed!\n", stderr); |
︙ | ︙ |