Differences From Artifact [8ff7710d2c]:
- File src/objc_properties.m — part of check-in [36c4b260aa] at 2011-03-11 16:47:48 on branch trunk — Get rid of warnings when using latest clang. (user: js, size: 2543) [annotate] [blame] [check-ins using]
To Artifact [363b73e7b0]:
- File src/objc_properties.m — part of check-in [c02e48e140] at 2011-04-12 14:51:47 on branch trunk — Use void in declarations when we take no parameters. (user: js, size: 2547) [annotate] [blame] [check-ins using]
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + | # import "threading.h" # define NUM_SPINLOCKS 8 /* needs to be a power of 2 */ # define SPINLOCK_HASH(p) ((uintptr_t)p >> 4) & (NUM_SPINLOCKS - 1) static of_spinlock_t spinlocks[NUM_SPINLOCKS]; #endif BOOL |
︙ |