December 20, 2021 Re: importc and stb | ||||
---|---|---|---|---|
| ||||
Posted in reply to stb | On 12/20/2021 3:01 AM, stb wrote:
> one of the bigger if not the biggest starting point of c++ was its c backwards compatibility. with importc you have best of both worlds. you have backwards/foreign compatibility with c libraries and since this is just an `include "path-to-c"` you do not contaminate d with c syntax.
>
> thank you walter!
You're welcome!
I'm mad at myself for not doing this long ago.
|
Copyright © 1999-2021 by the D Language Foundation