#include "ace/pre.h"
#include "ace/OS_Export.h"
#include "ace/OS_Errno.h"
#include <stddef.h>
#include "ace/post.h"
Include dependency graph for OS_Memory.h:
This graph shows which files directly or indirectly include this file:
Compounds | |
class | ACE_OS_Memory |
This class is a wrapper for dynamic memory operations. More... | |
Defines | |
#define | ACE_MALLOC_ALIGN ((int) sizeof (long)) |
#define | ACE_MALLOC_FUNC ::malloc |
#define | ACE_CALLOC_FUNC ::calloc |
#define | ACE_FREE_FUNC ::free |
#define | ACE_REALLOC_FUNC ::realloc |
#define | ACE_NEW_RETURN(POINTER, CONSTRUCTOR, RET_VAL) |
#define | ACE_NEW(POINTER, CONSTRUCTOR) |
#define | ACE_NEW_NORETURN(POINTER, CONSTRUCTOR) |
#define | ACE_throw_bad_alloc |
Typedefs | |
typedef void * | ACE_MALLOC_T |
|
|
|
|
|
|
|
|
|
Value: do { POINTER = new CONSTRUCTOR; \ if (POINTER == 0) { errno = ENOMEM; return; } \ } while (0) |
|
Value: do { POINTER = new CONSTRUCTOR; \ if (POINTER == 0) { errno = ENOMEM; } \ } while (0) |
|
Value: do { POINTER = new CONSTRUCTOR; \ if (POINTER == 0) { errno = ENOMEM; return RET_VAL; } \ } while (0) |
|
|
|
Value: void* gcc_will_complain_if_literal_0_is_returned = 0; \ return gcc_will_complain_if_literal_0_is_returned |
|
|