ObjFW  Check-in [27834a3103]

Overview
Comment:runtime: Fix missing static
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 27834a3103bc42fa4d4f078e8ed2ba6ea31086ba8a327a469c145c9fe04b73e7
User & Date: js on 2017-06-05 19:12:48
Other Links: manifest | tags
Context
2017-06-05
21:57
OFFileManager: Don't use stat() on MorphOS check-in: 289f2b1272 user: js tags: trunk
19:12
runtime: Fix missing static check-in: 27834a3103 user: js tags: trunk
18:56
Doxyfile: Add missing defines check-in: 4b6dfe02f2 user: js tags: trunk
Changes

Modified src/runtime/arc.m from [95cfbe530e] to [a8a136e91e].

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)
{

Modified src/runtime/synchronized.m from [d3901856c6] to [5afa8ac0c0].

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

#import "runtime.h"
#import "runtime-private.h"

#ifdef OF_HAVE_THREADS
# import "threading.h"

struct lock_s {
	id	      object;
	int	      count;
	of_rmutex_t   rmutex;
	struct lock_s *next;
} *locks = NULL;

static of_mutex_t mutex;







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

#import "runtime.h"
#import "runtime-private.h"

#ifdef OF_HAVE_THREADS
# import "threading.h"

static struct lock_s {
	id	      object;
	int	      count;
	of_rmutex_t   rmutex;
	struct lock_s *next;
} *locks = NULL;

static of_mutex_t mutex;