Re: variable arguments in ObjC
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.