Prevent Garbage Collector
Jeroen Bollen
jbinero at gmail.com
Sat Jan 4 09:23:36 PST 2014
On Saturday, 4 January 2014 at 17:22:44 UTC, Adam D. Ruppe wrote:
> On Saturday, 4 January 2014 at 17:19:30 UTC, Jeroen Bollen
> wrote:
>> Do I get malloc from the C library or does D also have a
>> function for this?
>
> import core.stdc.stdlib; // malloc and free are in here
>
> it uses it from the C library but the standard c lib is easily
> accessible from D in the core.stdc package.
Yeah I knew about the C library, just wasn't sure if D also had
it's own function.
More information about the Digitalmars-d-learn
mailing list