Overview
Comment: | Add +[load] to OFObject. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1bae4320253747580c739dd572670bbc |
User & Date: | js on 2009-11-15 01:17:36 |
Other Links: | manifest | tags |
Context
2009-11-15
| ||
01:39 | Improve OFFile and add a few new exceptions. check-in: 5cb7f93a1f user: js tags: trunk | |
01:17 | Add +[load] to OFObject. check-in: 1bae432025 user: js tags: trunk | |
00:59 | Update buildsys. check-in: 76f03bb012 user: js tags: trunk | |
Changes
Modified src/OFObject.h from [1dd4852877] to [65d50f6e31].
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + + + + + + + + | */ @interface OFObject { /// The class of the object Class isa; } /** * This code is executed once when the class is loaded into the runtime. * * Derived classes can overide this to execute their own code when the class is * loaded. */ + (void)load; /** * This code is executed once when a method of the class is called for the first * time. * * Derived classes can override this to execute their own code on * initialization. */ |
︙ |
Modified src/OFObject.m from [4c1f43e6bd] to [81f4a12608].
︙ | |||
44 45 46 47 48 49 50 | 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 | - + + + + + | } alloc_failed_exception; #ifdef NEED_OBJC_SYNC_INIT extern BOOL objc_sync_init(); #endif @implementation OFObject |
︙ |