Overview
Comment: | Move objc_{set,get}Property() declarations to macros.h. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
92da2a3a5b7bf7c0174bf1dd45caeff8 |
User & Date: | js on 2012-03-13 20:18:56 |
Other Links: | manifest | tags |
Context
2012-03-13
| ||
20:19 | Add of_num_cpus. check-in: 5a7c58ec98 user: js tags: trunk | |
20:18 | Move objc_{set,get}Property() declarations to macros.h. check-in: 92da2a3a5b user: js tags: trunk | |
2012-03-12
| ||
14:04 | OFHTTPRequest: Add Connection: close to the request headers. check-in: ffb4484d97 user: js tags: trunk | |
Changes
Modified src/OFObject.h from [502b05ce3f] to [fd7384f991].
︙ | ︙ | |||
604 605 606 607 608 609 610 | @end #import "OFObject+Serialization.h" #ifdef __cplusplus extern "C" { #endif | < < | 604 605 606 607 608 609 610 611 612 613 614 | @end #import "OFObject+Serialization.h" #ifdef __cplusplus extern "C" { #endif extern size_t of_pagesize; #ifdef __cplusplus } #endif |
Modified src/macros.h from [d255a09914] to [422d3d7cb2].
︙ | ︙ | |||
90 91 92 93 94 95 96 97 98 99 100 101 102 103 | #ifndef _WIN32 # define OF_PATH_DELIMITER '/' #else # define OF_PATH_DELIMITER '\\' #endif #define OF_IVAR_OFFSET(ivar) ((intptr_t)&ivar - (intptr_t)self) #define OF_GETTER(ivar, atomic) \ return objc_getProperty(self, _cmd, OF_IVAR_OFFSET(ivar), atomic); #define OF_SETTER(ivar, value, atomic, copy) \ objc_setProperty(self, _cmd, OF_IVAR_OFFSET(ivar), value, atomic, copy); static OF_INLINE uint16_t OF_CONST_FUNC | > > > | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | #ifndef _WIN32 # define OF_PATH_DELIMITER '/' #else # define OF_PATH_DELIMITER '\\' #endif extern id objc_getProperty(id, SEL, ptrdiff_t, BOOL); extern void objc_setProperty(id, SEL, ptrdiff_t, id, BOOL, BOOL); #define OF_IVAR_OFFSET(ivar) ((intptr_t)&ivar - (intptr_t)self) #define OF_GETTER(ivar, atomic) \ return objc_getProperty(self, _cmd, OF_IVAR_OFFSET(ivar), atomic); #define OF_SETTER(ivar, value, atomic, copy) \ objc_setProperty(self, _cmd, OF_IVAR_OFFSET(ivar), value, atomic, copy); static OF_INLINE uint16_t OF_CONST_FUNC |
︙ | ︙ |