using Unsized Arrays in Structures from d?

Timoses timosesu at
Fri May 4 14:55:18 UTC 2018

On Friday, 4 May 2018 at 13:27:03 UTC, NewUser wrote:
> Hi Timoses,
> The structure is being returned from c and I'd like use it from 
> d.
> What you have work perfectly when assigning from d.
> Regards,
> NewUser

Then you probably need some `extern(C)` statement introducing the 
C function and the struct type, right?

You could also try dstep to "translate" the C header file to D:

More information about the Digitalmars-d-learn mailing list