quakeforge/tools/qfcc/test/methodparams.r

18 lines
347 B
R
Raw Normal View History

typedef struct { int x, y; } Point;
@interface TextContext
- (void) mvvprintf: (Point) pos, string mft, @va_list args;
@end
@interface View
{
TextContext *textContext;
}
- (void) mvprintf: (Point) pos, string mft, ...;
@end
@implementation View
- (void) mvprintf: (Point) pos, string fmt, ...
{
[textContext mvvprintf: pos, fmt, @args];
}
@end