ObjFW  Check-in [1c1064611f]

Overview
Comment:runtime/lookup.m: Fix build with GCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1c1064611fb769f03f8d6d7948a143ae6c99d3fc96858e6117d31bc48eedf79b
User & Date: js on 2014-06-23 00:12:40
Other Links: manifest | tags
Context
2014-06-23
09:39
lookup-asm-sparc-elf.S: No new frame for ret_nil check-in: 0ec00e785f user: js tags: trunk
00:12
runtime/lookup.m: Fix build with GCC check-in: 1c1064611f user: js tags: trunk
2014-06-21
21:43
Move all macros from OFObject.h to macros.h check-in: 13ee56edf3 user: js tags: trunk
Changes

Modified src/runtime/lookup.m from [c4fa11142c] to [02a0538d70].

18
19
20
21
22
23
24









25
26
27
28
29
30
31

#include <stdio.h>
#include <stdlib.h>

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










static IMP forward_handler = (IMP)0;
static IMP forward_handler_stret = (IMP)0;

static IMP
common_method_not_found(id obj, SEL sel, IMP (*lookup)(id, SEL), IMP forward)
{







>
>
>
>
>
>
>
>
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

#include <stdio.h>
#include <stdlib.h>

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

@interface DummyObject
{
	Class isa;
}

+ (BOOL)resolveClassMethod: (SEL)selector;
+ (BOOL)resolveInstanceMethod: (SEL)selector;
@end

static IMP forward_handler = (IMP)0;
static IMP forward_handler_stret = (IMP)0;

static IMP
common_method_not_found(id obj, SEL sel, IMP (*lookup)(id, SEL), IMP forward)
{