Converting C .h Files to D Modules

Pedro Lacerda kanvuanza at gmail.com
Tue Mar 20 11:01:35 PDT 2012


Hi all,

How to convert the following struct to D?

typedef struct S {
    int type;
    void *obj;
} S;

I didn't found anything at http://dlang.org/htomodule.html.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20120320/b7e8b5e2/attachment.html>


More information about the Digitalmars-d-learn mailing list