Void initialization
Stewart Gordon
smjg_1998 at yahoo.com
Tue Dec 20 06:22:46 PST 2011
On 19/12/2011 18:11, Steven Schveighoffer wrote:
> On Mon, 19 Dec 2011 12:24:18 -0500, Bear <joanyleprince at yahoo.fr> wrote:
>
>> gc.malloc actually returns void[]
>
> http://www.d-programming-language.org/phobos/core_memory.html#malloc
>
> Looks like void* to me...
>
> Or is there another function I'm not aware of? I think it should be GC.malloc, not
> gc.malloc, so maybe I'm missing something...
<snip>
You are. That the OP was talking about std.gc.malloc in D1, not the core.memory stuff in D2.
Stewart.
More information about the Digitalmars-d-learn
mailing list