• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing on a variable arg list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Passing on a variable arg list (From: Charlie Dickman <email@hidden>)
 >Re: Passing on a variable arg list (From: Charlie Dickman <email@hidden>)
 >Re: Passing on a variable arg list (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Passing on a variable arg list
  • Next by Date: Missing iPhone OS SDK?
  • Previous by thread: Re: Passing on a variable arg list
  • Next by thread: Missing iPhone OS SDK?
  • Index(es):
    • Date
    • Thread