1 // class cl_spushstring.
4 #include "base/cl_sysdep.h"
7 #include "base/string/cl_spushstring.h"
12 #include <cstring> // declares memcpy()
16 void cl_spushstring::push (char c)
19 var uintL newalloc = 2*alloc;
20 var char* newbuffer = (char *) malloc_hook(newalloc);
21 memcpy(newbuffer,buffer,alloc);