• 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: variable arguments in ObjC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variable arguments in ObjC


  • Subject: Re: variable arguments in ObjC
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Fri, 22 Feb 2002 15:59:57 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Friday, February 22, 2002, at 12:54 , Nicholas Shanks wrote:

On Friday, February 22, 2002, at 05:34 pm, Eric Ridge wrote:

Now I've got this thing almost working, but I'm losing the
first argument.
Any ideas where it's gone?

The va_arg macro expands to an expression that has the type and value of
the _next_ argument in the call. Check the man page for va_arg.

there is no man page under OS X:
man: no entry for va_arg in the manual.

Actually, the appropriate man page is:
man stdarg

- --
Clark S. Cox, III
email@hidden
http://clarkcox.dyndns.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8drFTd6STocYT1xURAihgAJ9bJxaNkkKV6+CaOJey2FEDE2k07ACeK+bn
cmb6pug4+nTJ2mSIWvHSQ1A=
=MXEl
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: variable arguments in ObjC (From: Nicholas Shanks <email@hidden>)

  • Prev by Date: Re: Programming NSImageView
  • Next by Date: Re: +poseAsClass and instance variables
  • Previous by thread: Re: variable arguments in ObjC
  • Next by thread: RE: variable arguments in ObjC
  • Index(es):
    • Date
    • Thread