interfacing C bitfield structs
Kyle Furlong
kylefurlong at gmail.com
Fri Mar 17 15:25:26 PST 2006
Wolfgang Draxinger wrote:
> I'm currently writing D includes for several game and graphics
> related libraries (OpenGL, OpenAL, DevIL, SDL, cairo,
> Freetype2).
>
> 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?
>
> Greetings
>
> Wolfgang Draxinger
>
I would just like to make you aware of the fact that all these have been interfaced to D already. You can find many of these
bindings (and more) on www.dsource.org under a few projects: bindings, terra, and derelict.
More information about the Digitalmars-d
mailing list