1 // class cl_spushstring.
7 #include "cl_spushstring.h"
12 #include <string.h> // declares memcpy()
14 void cl_spushstring::push (char c)
17 var uintL newalloc = 2*alloc;
18 var char* newbuffer = (char *) cl_malloc_hook(newalloc);
19 memcpy(newbuffer,buffer,alloc);