Differences From Artifact [f05f1f70fa]:
- File src/runtime/hashtable.m — part of check-in [129f90b580] at 2012-03-04 20:20:52 on branch runtime — Import and integrate ObjFW-RT. (user: js, size: 3942) [annotate] [blame] [check-ins using]
To Artifact [2108c2f8fb]:
- File
src/runtime/hashtable.m
— part of check-in
[963db3089f]
at
2012-05-10 18:21:18
on branch runtime
— objc_hashtable_alloc() -> objc_hashtable_new().
For consistency. (user: js, size: 3940) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
42 43 44 45 46 47 48 | hash ^= (hash >> 11); hash += (hash << 15); return hash; } struct objc_hashtable* | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | hash ^= (hash >> 11); hash += (hash << 15); return hash; } struct objc_hashtable* objc_hashtable_new(uint32_t size) { struct objc_hashtable *h; uint32_t i; if ((h = malloc(sizeof(struct objc_hashtable))) == NULL) ERROR("Not enough memory to allocate hash table!"); |
︙ | ︙ |