mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
9b269c2f8e
Method parameters (ie, extra parameters without selector names) were getting reversed during function type construction.
29 lines
561 B
R
29 lines
561 B
R
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
|
|
id obj_msgSend (id receiver, SEL op, ...) = #0;
|
|
void __obj_exec_class (struct obj_module *msg) = #0;
|
|
@interface Object
|
|
@end
|
|
@implementation Object
|
|
@end
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
return 0; // to survive and prevail :)
|
|
}
|