interfacing C bitfield structs

Wolfgang Draxinger wdraxinger at darkstargames.de
Fri Mar 17 14:50:39 PST 2006


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




More information about the Digitalmars-d mailing list