#include <common/ac/stddef.h>
#include <common/ac/new.h>
#include <common/main.h>
Go to the source code of this file.
Defines | |
#define | THROW_BAD_ALLOC throw(std::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 () |
void * | operator new (size_t nbytes, std::nothrow_t &) throw () |
void * | operator new[] (size_t nbytes, std::nothrow_t &) throw () |
void | operator delete (void *ptr, std::nothrow_t const &) throw () |
void | operator delete[] (void *ptr, std::nothrow_t const &) throw () |