quakeforge/tools/qfcc/test/test-harness.h
Bill Currie bfda4e776f [qfcc] Add a failing test case for if-super calls
The common idiom for self init (below) causes a double-call when
compiling with --advanced, resulting in an incorrect retain count.

    if (!(self = [super init])) {
	return nil;
    }
2022-11-12 20:07:30 +09:00

11 lines
361 B
C

void *obj_malloc (int size) = #0;
void printf (string fmt, ...) = #0;
int errno (void) = #0;
string strerror (int err) = #0;
void exit (int code) = #0;
void traceon (void) = #0;
void traceoff (void) = #0;
entity spawn (void) = #0;
void remove (entity e) = #0;
id obj_msgSend (id receiver, SEL op, ...) = #0;
void __obj_exec_class (struct obj_module *msg) = #0;