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: John Anderson <email@hidden>
- Date: Fri, 2 Aug 2002 22:19:29 -0700
Sorry then, I guess I was mistaken. I thought everything had to be
serializable. My mistake.
-j.
On Friday, August 2, 2002, at 03:11 PM, Jim Correia wrote:
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.