Main Page | Modules | Class List | Directories | File List | Class Members | File Members

Memory Allocator
[Axis2 utilities]


Classes

struct  axis2_allocator
 Axis2 memory allocator. More...

Defines

#define AXIS2_MALLOC(allocator, size)   ((allocator)->malloc(size))
#define AXIS2_REALLOC(allocator, ptr, size)   ((allocator)->realloc(ptr, size))
#define AXIS2_FREE(allocator, ptr)   ((allocator)->free(ptr))

Typedefs

typedef axis2_allocator axis2_allocator_t
 Axis2 memory allocator.

Functions

axis2_allocator_taxis2_allocator_init (axis2_allocator_t *allocator)

Typedef Documentation

typedef struct axis2_allocator axis2_allocator_t
 

Axis2 memory allocator.

Encapsulator for memory allocating routines


Function Documentation

axis2_allocator_t* axis2_allocator_init axis2_allocator_t allocator  ) 
 

Initializes (creates) an allocator.

Parameters:
allocator user defined allcator. Optional, can be NULL. If NULL, a default allocator will be returned.
Returns:
initialized allocator. NULL on error.


Generated on Wed Dec 7 07:58:28 2005 for Axis2/C by  doxygen 1.4.2