malloc in core.memory.GC
Sean Kelly
sean at invisibleduck.org
Sun Apr 8 15:33:17 PDT 2012
ba is a BlockAttr bit field.
On Apr 8, 2012, at 1:05 PM, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> At http://dlang.org/phobos/core_memory.html, the spec for GC.malloc is
>
> static void* malloc(size_t sz, uint ba = 0);
>
> I assume each type has a specific ba. Is there a primitive in core.memory to retrieve it?
>
>
> Thanks,
>
> Andrei
More information about the Digitalmars-d
mailing list