• 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: can't send simple C struct by value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed objects: can't send simple C struct by value


  • Subject: Re: Distributed objects: can't send simple C struct by value
  • From: Michael Heins <email@hidden>
  • Date: Sat, 30 Oct 2004 11:59:19 -0600


On Oct 30, 2004, at 11:46 AM, Jim Correia wrote:

struct _Msg {
int a_fill;
char name[64];
int b_fill;
};

Does your struct use something other than PPC structure alignment?

DO only supports the processors native alignment. (If you need to force something else, like Mac68k alignment, you'll have to wrap the struct in an NSData and "decode" it by hand on the other side of the DO connection.)

No, it's just a simple native alignment.


Michael Heins AA7XY

_______________________________________________
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
References: 
 >Distributed objects: can't send simple C struct by value (From: Michael Heins <email@hidden>)
 >Re: Distributed objects: can't send simple C struct by value (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Distributed objects: can't send simple C struct by value
  • Next by Date: Re: Annotating on a NSImageView
  • Previous by thread: Re: Distributed objects: can't send simple C struct by value
  • Next by thread: Unwanted Run Log Window
  • Index(es):
    • Date
    • Thread