[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libmachuser vs libmach
From: |
Thomas Bushnell, BSG |
Subject: |
Re: libmachuser vs libmach |
Date: |
18 Jun 2002 14:55:45 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
James Morrison <rocketmail_com@rocketmail.com> writes:
> Ok, I'm not understanding why this is so. Is a new RPC needed because the
> user of the rpc is expecting a message back that is a specific size?
Yes. If you use MiG structs, then the interface itself has a fixed
specific amount of data. Changing it to use MiG arrays (the C type is
still a struct) allows for the size to be variable.
> So in this case we can use a stack based object since we know the size of the
> struct at compile time.
Yes.