On Thursday 29 March 2007 07:29, Steve Peters via RT wrote:

> Of course, some well defined macros could assist in cleaning this up.
> For example...
>
> #define PARROT_MEM_ALLOCATE(type)  \
>     (type *)mem_sys_allocate(sizeof(type))
>
> I don't know the Parrot opinion of macros, but it would certainly make
> the code cleanup much easier.

That wouldn't hurt my feelings.  It really wouldn't hurt my feelings to use a 
macro for PARROT_MEM_FREE either; then it would be trivial to switch to a 
memory poisoning scheme that hopefully generates segfaults much, much 
earlier.

-- c

Reply via email to