Ouch, void* is the same in both languages, sorry. I addressed a new problem:
typedef struct SomeFunctions {
void *(*funcA)(char*, size_t);
void *(*funcB)(void);
} SomeFunctions;
How do I convert that functions references into an D struct?
On Tue, Mar 20, 2012 at 3:01 PM, Pedro Lacerda <[email protected]> wrote:
> 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.
>
