mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
22 lines
482 B
R
22 lines
482 B
R
|
@class Array,Object;
|
||
|
@static entity waypoint_thinker;
|
||
|
@static Array *waypoint_queue;
|
||
|
void foo (void)
|
||
|
{
|
||
|
if ([waypoint_queue count]
|
||
|
&& (waypoint_thinker.@this = [waypoint_queue lastObject])) {
|
||
|
waypoint_thinker = nil; // just to deconfuse the dot graphs
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int main ()
|
||
|
{
|
||
|
return 0; // test succeeds if compile succeeds
|
||
|
}
|
||
|
id obj_msgSend (id receiver, SEL op, ...) = #0;
|
||
|
void __obj_exec_class (struct obj_module *msg) = #0;
|
||
|
@implementation Object
|
||
|
@end
|
||
|
@implementation Array
|
||
|
@end
|