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

Bernd Kreuss prof7bit at googlemail.com
Sun Aug 1 19:27:20 CEST 2010

On 01.08.2010 14:45, Matthias Klumpp wrote:

> Because Pascal records are incompatible with C structs

how are they incompatible? It should be possible to define the same
record as a struct in C and for every struct in C it should be possible
to define the same as a record in Pascal. Then you could work with
pointers to these structs (or records).

The difficulty in your example might come from the fact that it involves
the usage of strings and pascal will handle strings a bit differently
than this is usually done in C.

More information about the fpc-pascal mailing list