FROM : Michael Heins
DATE : Sat Oct 30 19:59:19 2004
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
DATE : Sat Oct 30 19:59:19 2004
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
| Related mails | Author | Date |
|---|---|---|
| Michael Heins | Oct 30, 10:16 | |
| Wade Tregaskis | Oct 30, 11:25 | |
| Michael Heins | Oct 30, 16:28 | |
| Wade Tregaskis | Oct 30, 17:21 | |
| Michael Heins | Oct 30, 18:14 | |
| Jim Correia | Oct 30, 19:46 | |
| Michael Heins | Oct 30, 19:59 | |
| Michael Heins | Oct 31, 17:53 |






Cocoa mail archive

