On Friday, 4 May 2018 at 14:55:18 UTC, Timoses wrote:
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:
https://github.com/jacob-carlborg/dstep
Hi Timoses,
Thanks for the suggestion, i'll try it out.
Regards,
NewUser