[fpc-pascal] How to translate this C header struct to Pascal

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Oct 23 22:33:10 CEST 2009


On 23/10/2009, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
>  The internal format of bitpacked records is opaque, and it is impossible to
> express the alignment requirements of C bitpacked structs or their internal
> fields with them.

So you suggest I continue like I was before? Reading that perticular
piece of data as an uint32 and then splitting it later into two or
more variables with whatever bit information I need.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list