• 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: Propagating Variable Arguments to Another Method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Propagating Variable Arguments to Another Method


  • Subject: Re: Propagating Variable Arguments to Another Method
  • From: "E. Wing" <email@hidden>
  • Date: Fri, 28 Dec 2007 21:55:27 -0800

On 12/28/07, Keary Suska <email@hidden> wrote:
> Does anyone know of a way to propagate variable arguments to a method taking
> variable arguments called within a method?


If I understand the problem correctly, you either need to use va_list
and make your second method take a va_list parameter, or you need to
use C99's variadic macros feature.

-Eric
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Propagating Variable Arguments to Another Method (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Unit Testing
  • Next by Date: Re: Best way to do simple binary file I/O?
  • Previous by thread: Propagating Variable Arguments to Another Method
  • Next by thread: Best way to do simple binary file I/O?
  • Index(es):
    • Date
    • Thread