ObjFW  Diff

Differences From Artifact [e12d752357]:

To Artifact [d1e5e6d9a8]:


45
46
47
48
49
50
51
52

53
54

55
56
57
58
59
60
61
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 *obj1, const void *obj2)
objc_equal_string(const void *ptr1, const void *ptr2)
{
	return (strcmp(obj1, obj2) == 0);
	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;