Differences From Artifact [20660be952]:
- File
src/runtime/arc.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 5516) [annotate] [blame] [check-ins using]
To Artifact [120ac4ff9d]:
- File src/runtime/arc.m — part of check-in [d07c56a8bb] at 2017-04-02 01:06:35 on branch trunk — Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() (user: js, size: 5477) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
44 45 46 47 48 49 50 | static bool obj_equal(const void *obj1, const void *obj2) { return (obj1 == obj2); } | | < | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | static bool obj_equal(const void *obj1, const void *obj2) { return (obj1 == obj2); } OF_CONSTRUCTOR() { hashtable = objc_hashtable_new(obj_hash, obj_equal, 2); #ifdef OF_HAVE_THREADS if (!of_spinlock_new(&spinlock)) OBJC_ERROR("Failed to create spinlock!") #endif |
︙ | ︙ |