On 07/06/2018 11:47 PM, tipdbmp wrote:
The following compiles without pragma(lib, ...):extern(C) { const(char)* zlibVersion(); } void main() { const(char)* sz = zlibVersion(); }
It has already been compiled in as part of Phobos.
rikki cattermole via Digitalmars-d-learn Thu, 07 Jun 2018 05:07:29 -0700
On 07/06/2018 11:47 PM, tipdbmp wrote:
The following compiles without pragma(lib, ...):extern(C) { const(char)* zlibVersion(); } void main() { const(char)* sz = zlibVersion(); }
It has already been compiled in as part of Phobos.