[fpc-pascal] Can I store an object reference in C as void pointer?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue May 20 17:20:12 CEST 2008

On 5/20/08, Guillermo Martínez Jiménez <gmjimen at burdjia.com> wrote:
> Is this correct or should I use a different approach?

Yes, it is correct. It is the same basic strategy adopted in the C
bindings for LCL:


The only problem is that your pseudo pascal code is not compilable,
but since you called it pseudo, I suppose this is normal.

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list