Re: Passing on a variable arg list
Re: Passing on a variable arg list
- Subject: Re: Passing on a variable arg list
- From: Charlie Dickman <email@hidden>
- Date: Thu, 26 Apr 2012 22:41:37 -0400
Of course (duh)! I was hung up on declaring '...' as a va_list.
Thanks.
On Apr 26, 2012, at 10:33 PM, Dave Keck wrote:
> 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
> {
> ...
> }
Charlie Dickman
email@hidden
_______________________________________________
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