• 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
Re: Distributed Objects passing structures? (punching holes in my data)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Distributed Objects passing structures? (punching holes in my data)
      • From: John Anderson <email@hidden>
References: 
 >Re: Distributed Objects passing structures? (punching holes in my data) (From: John Anderson <email@hidden>)

  • Prev by Date: Re: Distributed Objects passing structures? (punching holes in my data)
  • Next by Date: Looking for simple NSCursor example code
  • Previous by thread: Re: Distributed Objects passing structures? (punching holes in my data)
  • Next by thread: Re: Distributed Objects passing structures? (punching holes in my data)
  • Index(es):
    • Date
    • Thread