On Wed, Jan 16, 2002 at 08:33:26AM +1100, Stephen Best wrote:
> I'm not sure if I should make the
> ctbl_buf larger (and still use ColorTableEntries) in case they add a spacer
> after the numEntries.

Because ColorTableEntries is a macro (and is even documented as such!),
they couldn't do this without breaking binary compatibility.

> Irrespective, how you're supposed to set numEntries
> without knowing the structure contents is a mystery to me!

It's worse than that.  Because ColorTableEntries is merely a macro (and
is entirely inline), accessing the colour entries is in exactly the same
falsely verboten category as accessing numEntries.

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to