27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#import "OFBlock.h"
struct weak_ref {
id **locations;
size_t count;
};
struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif
static uint32_t
obj_hash(const void *obj)
{
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#import "OFBlock.h"
struct weak_ref {
id **locations;
size_t count;
};
static struct objc_hashtable *hashtable;
#ifdef OF_HAVE_THREADS
static of_spinlock_t spinlock;
#endif
static uint32_t
obj_hash(const void *obj)
{
|