Re: Passing on a variable arg list
Re: Passing on a variable arg list
- Subject: Re: Passing on a variable arg list
- From: Dave Keck <email@hidden>
- Date: Thu, 26 Apr 2012 22:33:45 -0400
You do the exact same thing that you do in C, as you've illustrated:
- (void)meth2: (id)arg1, ...
{
... VA preample ...
[self meth2Guts: arg1 vars: vars];
... VA prologue ...
}
- (void)meth2Guts: (id)arg1 vars: (va_list)vars
{
...
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden