Error while trying to allocate memory (malloc)
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Aug 6 09:25:01 PDT 2012
On 8/6/12, CrudOMatic <crudomatic at gmail.com> wrote:
> another quick question - are these allocations automatically
> entered into the GC heap? If so then I can just disable garbage
> collection?
No, there is the standard C malloc/free in std.c.stdlib which you're
using, and then there's the GC.malloc and GC.free in core.memory if
you want to allocate from the GC heap.
More information about the Digitalmars-d-learn
mailing list