3 This file is part of gldbg
4 Copyright © 2009 Mikko Rasa, Mikkosoft Productions
5 Distributed under the GPL
12 unsigned buf_size = 8192;
15 void *tmpalloc(unsigned size)
19 buffer = malloc(buf_size);
20 if(offset+size>buf_size)
22 ptr = (char *)buffer+offset;