Aegis  4.25.D505
Defines | Functions
/home/archives/aegis/branch.4/branch.25/delta28933.505/common/mem.h File Reference
#include <common/ac/stddef.h>
#include <common/ac/new.h>

Go to the source code of this file.

Defines

#define THROW_BAD_ALLOC

Functions

void * mem_alloc (size_t nbytes)
 allocate memory
void * mem_alloc_clear (size_t nbytes)
 allocate and clear memory
void * mem_change_size (void *, size_t)
void mem_free (void *)
char * mem_copy_string (const char *arg)
char * mem_copy_string (const char *arg, size_t len)
void * operator new (size_t nbytes) THROW_BAD_ALLOC
void * operator new[] (size_t nbytes) THROW_BAD_ALLOC
void operator delete (void *ptr) throw ()
void operator delete[] (void *ptr) throw ()