On Tue, 20 Dec 2011 09:22:46 -0500, Stewart Gordon <smjg_1...@yahoo.com> wrote:

On 19/12/2011 18:11, Steven Schveighoffer wrote:
On Mon, 19 Dec 2011 12:24:18 -0500, Bear <joanylepri...@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.

Ah, my bad. Having never used phobos1, I have no idea how it is implemented, so I can't help here.

Well, I did use it for a week before thinking "there has to be something better" and found Tango :)

I think bearophile has fell for the same thing.

-Steve

Reply via email to