D string to C struct fixed-size array

bdh ben.h at posteo.net
Mon Jan 4 02:17:33 UTC 2021


On Sunday, 3 January 2021 at 11:16:25 UTC, rikki cattermole wrote:
> Your definition of Image is probably wrong.
>
> You may have missed a pointer (8 bytes).

I'm pretty sure it's correct?

Here's the D version:
   
https://repo.or.cz/magickd.git/blob/e5d06e939:/source/magickd/core/c/image.d#l751

Here's the C version:
   
http://hg.code.sf.net/p/graphicsmagick/code/file/a622095da492/magick/image.h#l683



More information about the Digitalmars-d-learn mailing list