How to handle nested structs when converting C headers?
bearophile
bearophileHUGS at lycos.com
Wed Dec 11 15:36:10 PST 2013
Gary Willoughby:
> 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
In D you can't define a struct/union and use it to define an
instance on the fly. You have to split definition and use in two
parts.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list