Can varargs be used with distributed objects?
Can varargs be used with distributed objects?
- Subject: Can varargs be used with distributed objects?
- From: Derrick Bass <email@hidden>
- Date: Sat, 31 Dec 2005 00:07:13 -0600
Is it possible to use varargs methods with distributed objects?
In a method declared like so:
-(NSString *) doSomethingWithList(NSString *)firstArg, ...
I pass in a nil terminated argument list:
[remoteObject doSomethingWithList:string1, string2, nil];
But the remote object only sees string1 before va_arg returns nil.
Is there some trick I'm missing, or is this simply impossible?
Derrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden