How to handle nested structs when converting C headers?

Gary Willoughby dev at nomad.so
Wed Dec 11 15:54:58 PST 2013


On Wednesday, 11 December 2013 at 23:38:13 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 11 December 2013 at 23:35:04 UTC, Gary Willoughby 
> wrote:
>>    static union internalRep
>
>
> try
>
> static union InternalRep { /* note the capital letter */
>   /* snip */
> }
> InternalRep internalRep;; // still need a decl

Right. But why use the static keyword here?


More information about the Digitalmars-d-learn mailing list