How to handle nested structs when converting C headers?
Gary Willoughby
dev at nomad.so
Wed Dec 11 15:27:56 PST 2013
On Wednesday, 11 December 2013 at 23:12:39 UTC, bearophile wrote:
> Adam D. Ruppe:
>
>> Nested structs and unions like in your example are supported
>> in D too, same syntax, same effect.
>
> But don't forget to add to use "static struct" instad of
> "struct".
>
> Bye,
> bearophile
Have you got an example because i always get:
tcl.d(713): Error: no identifier for declarator twoPtrValue
tcl.d(718): Error: no identifier for declarator ptrAndLongRep
tcl.d(719): Error: no identifier for declarator internalRep
More information about the Digitalmars-d-learn
mailing list