Overview
Comment: | Fix missing cast. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8c40feec2b26e8df54e6c7b5afac134f |
User & Date: | js on 2011-07-12 23:13:40 |
Other Links: | manifest | tags |
Context
2011-07-14
| ||
21:18 | Allow passing NULL to _Block_object_assign() / _Block_object_dispose(). check-in: 017a85770c user: js tags: trunk | |
2011-07-12
| ||
23:13 | Fix missing cast. check-in: 8c40feec2b user: js tags: trunk | |
2011-07-10
| ||
18:44 | Include sys/types.h in objc_sync.m. check-in: 47f179bc09 user: js tags: trunk | |
Changes
Modified src/OFDoubleMatrix.m from [beb8bdaf1b] to [0e9aecd40d].
︙ | ︙ | |||
175 176 177 178 179 180 181 | if (row >= rows || column >= columns) @throw [OFOutOfRangeException newWithClass: isa]; data[row * columns + column] = value; } - (double)valueForRow: (size_t)row | | | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | if (row >= rows || column >= columns) @throw [OFOutOfRangeException newWithClass: isa]; data[row * columns + column] = value; } - (double)valueForRow: (size_t)row column: (size_t)column { if (row >= rows || column >= columns) @throw [OFOutOfRangeException newWithClass: isa]; return data[row * columns + column]; } |
︙ | ︙ |
Modified src/OFString.h from [d7444f1cd5] to [8d981d2192].
︙ | ︙ | |||
645 646 647 648 649 650 651 | */ - (BOOL)hasSuffix: (OFString*)suffix; /** * Splits an OFString into an OFArray of OFStrings. * * \param delimiter The delimiter for splitting | | | 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 | */ - (BOOL)hasSuffix: (OFString*)suffix; /** * Splits an OFString into an OFArray of OFStrings. * * \param delimiter The delimiter for splitting * \return An autoreleased OFArray with the split string */ - (OFArray*)componentsSeparatedByString: (OFString*)delimiter; /** * \return The components of the path */ - (OFArray*)pathComponents; |
︙ | ︙ |
Modified src/objc_properties.m from [363b73e7b0] to [8bcf5763cc].
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include <assert.h> #import "OFObject.h" #ifdef OF_THREADS # import "threading.h" # define NUM_SPINLOCKS 8 /* needs to be a power of 2 */ | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #include <assert.h> #import "OFObject.h" #ifdef OF_THREADS # import "threading.h" # define NUM_SPINLOCKS 8 /* needs to be a power of 2 */ # define SPINLOCK_HASH(p) ((unsigned)((uintptr_t)p >> 4) & (NUM_SPINLOCKS - 1)) static of_spinlock_t spinlocks[NUM_SPINLOCKS]; #endif BOOL objc_properties_init(void) { #ifdef OF_THREADS |
︙ | ︙ |