mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-18 18:51:53 +00:00
41 lines
424 B
R
41 lines
424 B
R
|
@interface foo
|
||
|
{
|
||
|
Class isa;
|
||
|
unsigned retainCount;
|
||
|
}
|
||
|
+(id) alloc;
|
||
|
-(id) init;
|
||
|
@end
|
||
|
|
||
|
@interface baz: foo
|
||
|
{
|
||
|
integer xpos, ypos;
|
||
|
integer xlen, ylen;
|
||
|
integer xabs, yabs;
|
||
|
baz *parent;
|
||
|
integer flags;
|
||
|
}
|
||
|
@end
|
||
|
|
||
|
@class baz;
|
||
|
@class foo;
|
||
|
|
||
|
@interface bar: baz
|
||
|
{
|
||
|
integer blah;
|
||
|
}
|
||
|
-(id) init;
|
||
|
@end
|
||
|
|
||
|
@implementation bar
|
||
|
{
|
||
|
integer blah;
|
||
|
}
|
||
|
|
||
|
-(id) init
|
||
|
{
|
||
|
blah = 0xdeadbeaf;
|
||
|
return self;
|
||
|
}
|
||
|
@end
|