ObjFW  Check-in [1bf4571d60]

Overview
Comment:Remove unnecessary interface.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: 1bf4571d6039df4ffdeb6ee217ca21835e0e4995a8f02d7f3be99baa10c22a31
User & Date: js on 2012-04-18 17:26:59
Other Links: branch diff | manifest | tags
Context
2012-04-18
17:29
Add cast to make Clang happy. check-in: 3ae7423995 user: js tags: runtime
17:26
Remove unnecessary interface. check-in: 1bf4571d60 user: js tags: runtime
2012-04-08
20:00
Check if protocol responds to protocol. check-in: 2fab0339e4 user: js tags: runtime
Changes

Modified src/runtime/class.m from [227edc0aad] to [82ae92bc57].

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <string.h>

#include <assert.h>

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

@protocol BasicClass
+ (void)load;
+ (void)initialize;
@end

static struct objc_hashtable *classes = NULL;

static void
register_class(Class cls)
{
	if (classes == NULL)
		classes = objc_hashtable_alloc(2);







<
<
<
<
<







21
22
23
24
25
26
27





28
29
30
31
32
33
34
#include <string.h>

#include <assert.h>

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






static struct objc_hashtable *classes = NULL;

static void
register_class(Class cls)
{
	if (classes == NULL)
		classes = objc_hashtable_alloc(2);