importc and stb
Adam D Ruppe
destructionator at gmail.com
Thu Dec 16 13:38:06 UTC 2021
On Thursday, 16 December 2021 at 10:38:38 UTC, stb wrote:
> are we going to be able use https://github.com/nothings/stb
> with importc?
> these are header only libraries and i use stb (and similar
> libraries) all the time.
> there is no reason for me to use c/c++ for tools if importc can
> pull this off.
note that some of these have already been ported to D like
though i haven't updated it back from upstream for a while.
but i think the import C should work with those if you can set up
the macros in a separate file ahead of time.
More information about the Digitalmars-d