ObjFW  Diff

Differences From Artifact [7f174d7d34]:

To Artifact [d8155e4574]:


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
};

static struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif

static uint32_t
hash(const void *object)
{
	return (uint32_t)(uintptr_t)object;
}

static bool
equal(const void *object1, const void *object2)







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
};

static struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif

static unsigned long
hash(const void *object)
{
	return (uint32_t)(uintptr_t)object;
}

static bool
equal(const void *object1, const void *object2)