[fpc-pascal] Translate C to Pascal
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Wed Aug 13 12:35:21 CEST 2008
On Wed, Aug 13, 2008 at 7:38 AM, Vinzent Höfler
<JeLlyFish.software at gmx.net> wrote:
> What for? The C statement is empty, it's not a variable and not even a type.
> So before translating that into an empty Pascal-record, you should rather
> look at what the actually used structur in the C-code is.
It is usually used for having an opaque type, referencing it with a
pointer. I would put in pascal both the empty structure and a pointer
type to it.
a: record end;
pa: ^a;
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list