35 void set_name (
const std::string& n) { _name = n; }
37 static void *
lalloc (
void* pool,
void* ptr,
size_t ,
size_t newsize) {
38 return static_cast<TLSF*
>(pool)->_realloc (ptr, newsize);
41 void*
malloc (
size_t size) {
return _malloc (size); }
43 void*
realloc (
void *ptr,
size_t newsize) {
return _realloc (ptr, newsize); }
45 void free (
void* ptr) { _free (ptr); }
TLSF(std::string name, size_t bytes)
size_t get_max_size() const
void * _realloc(void *, size_t)
static void * lalloc(void *pool, void *ptr, size_t, size_t newsize)
void * realloc(void *ptr, size_t newsize)
void * malloc(size_t size)
size_t get_used_size() const
void set_name(const std::string &n)
GtkImageIconNameData name