libgmp deimos library
Andrew Hall via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 11 19:12:23 PST 2017
On Thursday, 12 January 2017 at 02:12:01 UTC, Mike Parker wrote:
> On Wednesday, 11 January 2017 at 23:12:30 UTC, Nordlöw wrote:
>> On Wednesday, 11 January 2017 at 22:19:58 UTC, Andrew Hall
>> wrote:
>>> also, why nogc?
>>
>> Because C-functions never use the D garbage collector :)
>
> They should also be marked nothrow. That and @nogc should
> generally be applied to all C function bindings, but pure only
> on those which actually are pure.
Just added @nogc. Cheers
More information about the Digitalmars-d
mailing list