C struct (with bitfields) to D and back

Serg Kovrov kovrov at no.spam
Sun Aug 6 15:44:52 PDT 2006

Jarrett Billingsley wrote:
> Wow, that's amazing; I didn't know htod would translate bitfields to 
> properties like that.  It should be compatible with the C API, since that's 
> what C bitfields do for you behind the scenes - shifting and masking.  And 
> the positions look right.

Thanks for reply, Jarrett, I hope it is.

I actually can't test it right now as Uniscribe is quite complicated 
subject, and I just started investigating it... As/if I get some 
results, I'll post it (and perhaps bindings to the API) here.


More information about the Digitalmars-d-learn mailing list