help on how to wrap a C macros when binding linux/spi/spidev.h

dangbinghoo dangbinghoo at gmail.com
Thu Mar 29 08:54:59 UTC 2018


On Thursday, 29 March 2018 at 08:47:50 UTC, dangbinghoo wrote:
> hi,
>
> I'm doing a D binding myself to <linux/spi/spidev.h>, and has 
> some problems to wrap the C macros.
>
> [...]

PS: if I just _IOW!(char[])... it compiles, but does it mean it's 
unsafe? thanks!


More information about the Digitalmars-d-learn mailing list