Why using wrappers for D?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 3 06:48:43 PDT 2016


On Monday, 3 October 2016 at 13:12:55 UTC, Chalix wrote:
> But I don't get, why I have a gtkd-3 lib. Why can't I just link 
> against the gtk-3 lib then? I have now the headers to use the 
> nice D stuff, but the linking should be done against the 
> C-compiled library.

If you don't use D-specific stuff like autogenerated comparison 
operators and big struct initializers, you would be able to link 
with C library alone.


More information about the Digitalmars-d-learn mailing list