Variadic function: Difference between revisions
Content deleted Content added
Line 263:
<lang objc>#include <stdarg.h>
void printAll(id firstObject, ...) // <-- there is always at least one arg, "nil", so this is valid, even for "empty" list
{
va_list args;
|