Windows Header consts
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 7 18:39:28 PDT 2015
On Monday, 7 September 2015 at 22:02:47 UTC, Prudence wrote:
>
> Again, it's called progress. Why keep using the same defunct
> system for endless years simply because that's the way it was
> done?
Any C library binding should maintain the same interface as the C
library as much as possible. That way any existing C code can be
directly ported to D with minimal modification. If you then want
to build a wrapper on top of that to make it more D-like, that's
perfectly fine, but the binding itself shouldn't be D-ified.
More information about the Digitalmars-d-learn
mailing list