Drizzled Public API Documentation

drizzled::memory Namespace Reference

Classes

class  Root
class  SqlAlloc

Functions

void * multi_malloc (bool zerofill,...)
void init_sql_alloc (Root *root, size_t block_size, size_t pre_alloc_size)
void * sql_alloc (size_t)
void * sql_calloc (size_t)
char * sql_strdup (const char *str)
char * sql_strmake (const char *str, size_t len)
void * sql_memdup (const void *ptr, size_t size)

Variables

static const int KEEP_PREALLOC = 1
static const int MARK_BLOCKS_FREE = 2
static const size_t ROOT_MIN_BLOCK_SIZE = (MALLOC_OVERHEAD + sizeof(internal::UsedMemory) + 8)

Detailed Description

Memory allocation utils

NB: This namespace documentation may not seem very useful, but without a comment on the namespace Doxygen won't extract any documentation for namespace members.