malloc in core.memory.GC

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Apr 8 13:05:51 PDT 2012


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