Ouch, void* is the same in both languages, sorry. I addressed a new problem:<div><br></div><div><div>typedef struct SomeFunctions {</div><div>    void *(*funcA)(char*, size_t);</div><div>    void *(*funcB)(void);</div><div>
} SomeFunctions;</div></div><div><br></div><div>How do I convert that functions references into an D struct?</div><div><br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 3:01 PM, Pedro Lacerda <span dir="ltr"><<a href="mailto:kanvuanza@gmail.com">kanvuanza@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>How to convert the following struct to D?</div><div><br></div><div><div>typedef struct S {</div>
<div>    int type;</div><div>    void *obj;</div><div>} S;</div></div><div><br></div><div>I didn't found anything at <a href="http://dlang.org/htomodule.html" target="_blank">http://dlang.org/htomodule.html</a>.</div>

</blockquote></div><br></div>