Chromatic <[EMAIL PROTECTED]> wrote:
>       set layout['member'], .DATATYPE_INT
>       push layout, 0
>       push layout, 0

Pushing zero as offset should do The Right Thing, that is proper
aligning the item. Tighter packed structures can be achieved with
explicit offset parameters.

Its basically an one-liner in unmanagedstruct.pmc:205

 if (offs == 0 && toff % data_size)
  advance (offs, toff) to data_size alignment

> Is this one for the TODO list, or did I catch a pumpking in good
> humours?

Takers wanted :)

> -- c

leo

Reply via email to