[fpc-pascal] Something like g_object_get() in Pascal?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Aug 2 10:32:53 CEST 2010


On 01 Aug 2010, at 14:45, Matthias Klumpp wrote:

> I have a record containing a set of variables. This record should  
> now be
> accessed from an application developed in C (through a shared  
> library).
> Because Pascal records are incompatible with C structs

If you use {$packrecords c}, then records in FPC will use the same  
layout as C structs on the current platform.


Jonas



More information about the fpc-pascal mailing list