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

axis2_allocator Struct Reference
[Memory Allocator]

Axis2 memory allocator. More...

#include <axis2_allocator.h>

List of all members.

Public Attributes

void *(* malloc )(size_t size)
void *(* realloc )(void *ptr, size_t size)
void(* free )(void *ptr)


Detailed Description

Axis2 memory allocator.

Encapsulator for memory allocating routines


Member Data Documentation

void(* axis2_allocator::free)(void *ptr)
 

frees memory

Parameters:
ptr pointer to be freed

void*(* axis2_allocator::malloc)(size_t size)
 

allocates memory

Parameters:
size size of the memory block to be allocated
Returns:
pointer to the allocated memory block

void*(* axis2_allocator::realloc)(void *ptr, size_t size)
 

re-llocates memory

Parameters:
ptr memory block who's size to be changed
size size of the memory block to be allocated
Returns:
pointer to the allocated memory block


The documentation for this struct was generated from the following file:
Generated on Thu Nov 24 13:58:31 2005 for Axis2/C by  doxygen 1.4.2