On Tue, 04 Jan 2011 01:06:39 +0200, %u <[email protected]> wrote:

It doesn't have to be at run-time, I can add code to the GC too. So _d_newclass would be *almost* what I'm looking for, except that it doesn't work for memory allocated using GC.malloc()... so I'd have to hook in multiple places I guess.
Thanks for the info.

_d_newclass invokes the GC's malloc downstream. It's just that at _d_newclass, you know the class typeinfo being allocated.

--
Best regards,
 Vladimir                            mailto:[email protected]

Reply via email to