Differences From Artifact [e12d752357]:
- File
src/runtime/hashtable.m
— part of check-in
[ef6d69931e]
at
2019-02-07 00:46:41
on branch trunk
— Make style consistent between ObjFW and ObjFW_RT
ObjFW_RT used to be a separate project that followed the BSD style, as
it was written in pure C, while ObjFW's style is based on the BSD style
with changes to make it a better fit for Objective-C. This commit
changes ObjFW_RT to use the same style as ObjFW. (user: js, size: 5173) [annotate] [blame] [check-ins using]
To Artifact [d1e5e6d9a8]:
- File src/runtime/hashtable.m — part of check-in [754bf24742] at 2019-02-07 21:31:16 on branch trunk — More style improvements (user: js, size: 5173) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
45 46 47 48 49 50 51 | hash ^= (hash >> 11); hash += (hash << 15); return hash; } bool | | | | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | hash ^= (hash >> 11); hash += (hash << 15); return hash; } bool objc_equal_string(const void *ptr1, const void *ptr2) { return (strcmp(ptr1, ptr2) == 0); } struct objc_hashtable * objc_hashtable_new(uint32_t (*hash)(const void *), bool (*equal)(const void *, const void *), uint32_t size) { struct objc_hashtable *table; |
︙ | ︙ |