need 'this' to access data member
Mike Parker
aldacron71 at yahoo.com
Wed Sep 27 10:57:43 PDT 2006
Mike Parker wrote:
> clayasaurus wrote:
>
>>>
>>
>> That would be nicer, but it is not my call. The SDL_RWops structure is
>> from the SDL library (www.libsdl.org) and the goal is to stay as close
>> to the original structure as possible.
>>
>>
>
> In C, named inner structs and unions are treated as fields.
>
And now that I've posted that I see that Derek was talking about
anonymous inner structs. Oh well, what I said is still true :)
More information about the Digitalmars-d-learn
mailing list