Overview
Comment: | Replace a few init methods with constructors. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c34d45798bdce9873ec9893e8ea26be4 |
User & Date: | js on 2012-08-04 08:29:06 |
Other Links: | manifest | tags |
Context
2012-08-04
| ||
09:39 | Fix tests/objc_sync/Makefile. check-in: 1f0e6b6fb0 user: js tags: trunk | |
08:29 | Replace a few init methods with constructors. check-in: c34d45798b user: js tags: trunk | |
00:51 | Add -[OFArray arrayByRemovingObject:]. check-in: 96bbfb777c user: js tags: trunk | |
Changes
Modified src/OFObject.m from [6f60ff9dfc] to [ef2b5b53fe].
︙ | |||
90 91 92 93 94 95 96 | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - - - - - | static SEL cxx_construct = NULL; static SEL cxx_destruct = NULL; size_t of_pagesize; size_t of_num_cpus; |
︙ | |||
232 233 234 235 236 237 238 | 227 228 229 230 231 232 233 234 235 236 237 238 239 240 | - - - - - - - - - - - - - | { _OFObject_Serialization_reference = 1; } @implementation OFObject + (void)load { |
︙ |
Modified src/runtime/property.m from [677b6f2060] to [0d8c0c46ef].
︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | + + + - - + + + - - - - + - + | * file. */ #include "config.h" #include <string.h> #import "runtime.h" #import "runtime-private.h" #import "OFObject.h" #import "macros.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 |
︙ |
Modified src/runtime/synchronized.m from [60cb02c7ef] to [9fc3b19498].
︙ | |||
19 20 21 22 23 24 25 26 27 28 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | + - - - - - + + + + + - - + + - + + | #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <sys/types.h> #import "runtime.h" #import "runtime-private.h" #import "threading.h" struct lock_s { |
︙ |