importc and stb

Walter Bright newshound2 at digitalmars.com
Mon Dec 20 19:44:22 UTC 2021


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.


More information about the Digitalmars-d mailing list