Okay, having seen the discussion and now realized that my initial cut was too rough, here are some changes:
Parrot_allocate now takes a Buffer pointer and allocates into it, setting the length to what was really allocated. Parrot_reallocate takes a Buffer pointer and a size, and resizes things. Parrot_realloc is dead. I'm currently not thinking that any sort of plain "get me GC memory but I'm not going to anchor it" routine is a good idea, but I can be convinced otherwise. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk