interfacing C bitfield structs
Craig Black
craigblack2 at cox.net
Thu Nov 29 06:45:54 PST 2007
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:fiksel$28qu$2 at digitalmars.com...
> Wolfgang Draxinger wrote:
>> Now with SDL I've encountered a problem: SDL makes use of serval
>> bitfields and I've no idea, how to interface them to D.
>>
>> Has somebody an idea how I best interface with it elegantly?
>
> Yes,
>
> http://www.digitalmars.com/d/phobos/std_bitmanip.html
D has bit fields! Sweet!
More information about the Digitalmars-d
mailing list