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

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Oct 24 13:54:49 CEST 2009


ik wrote on Sat, 24 Oct 2009:

[bitpacked records cannot be used for interfacing with C]
> That's make this feature very not useful and unneeded.

It was primarily added for compatibility with Mac Pascal compiler, and  
it's also compatible with GPC's bitpacked records. It's as useless as  
"set" types to interface with C though.

> If I have a C struct that has a non standard bit count, how can I make sure
> that I'll have the needed data on the right field, and without any segfult
> in the middle ?
>
> Doesn't Pascal have something to offer me to deal with it ?

FPC doesn't at this time, no.


Jonas

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the fpc-pascal mailing list