malloc in core.memory.GC

Alex Rønne Petersen xtzgzorex at gmail.com
Sun Apr 8 15:37:41 PDT 2012


On 09-04-2012 00:34, Alex Rønne Petersen wrote:
> On 08-04-2012 22:05, Andrei Alexandrescu 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
>
> Heh, even that is not actually obvious. We really need to fix the GC
> docs...
>

Err, that was meant to be a reply to Sean's post...

-- 
- Alex


More information about the Digitalmars-d mailing list