Using C library libsndfile with D
bachmeier via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 25 12:51:24 PDT 2015
On Thursday, 25 June 2015 at 18:29:23 UTC, Ali Çehreli wrote:
> D has the pragma(lib) feature where you can tell the compiler
> to link with a specific library as well. For example:
>
> pragma(lib, "curl");
>
> You would probably use "sndfile" in your case (not sure):
>
> pragma(lib, "sndfile");
>
This is the first time I've heard of pragma(lib). It's a nice
feature that should be added to the compiler documentation.
More information about the Digitalmars-d-learn
mailing list