Re: Distributed Objects passing structures? (punching holes in my data)
Re: Distributed Objects passing structures? (punching holes in my data)
- Subject: Re: Distributed Objects passing structures? (punching holes in my data)
- From: Jim Correia <email@hidden>
- Date: Fri, 2 Aug 2002 18:11:36 -0400
On Friday, August 2, 2002, at 06:03 PM, John Anderson wrote:
Everything you pass back and forth has to be based on NSObject;
this is because the root class is just "switched" with NSProxy to
handle DO. So you'll have to take your struct and convert it into
an NSObject-based class.
That would certainly be cumbersome.
Further, the objective-c pdf specifically states that this is
allowed. (The Objective-C Runtime System mentions in, out, inout,
modifiers for passing things by pointer.)
Do you have experience that the documentation is incorrect?
Passing things by pointer is working for me in most cases, even in
the get case. Things are just getting clobbered during the message
in the set case.
Jim
_______________________________________________
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.