• 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
Can varargs be used with distributed objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Can varargs be used with distributed objects?
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Bug? SegmentedView Appearance on a Unified Window
  • Next by Date: Re: Can varargs be used with distributed objects?
  • Previous by thread: Re: Bug? SegmentedView Appearance on a Unified Window
  • Next by thread: Re: Can varargs be used with distributed objects?
  • Index(es):
    • Date
    • Thread