Back to index

php5  5.3.10
Functions | Variables
mbfl_allocators.c File Reference
#include "mbfl_allocators.h"

Go to the source code of this file.

Functions

static void * __mbfl__malloc (unsigned int)
static void * __mbfl__realloc (void *, unsigned int)
static void * __mbfl__calloc (unsigned int, unsigned int)
static void __mbfl__free (void *)

Variables

static mbfl_allocators default_allocators
mbfl_allocators__mbfl_allocators = &default_allocators

Function Documentation

static void * __mbfl__calloc ( unsigned int  nelems,
unsigned int  szelem 
) [static]

Definition at line 84 of file mbfl_allocators.c.

{
       return calloc(nelems, szelem);
}
static void __mbfl__free ( void *  ptr) [static]

Definition at line 89 of file mbfl_allocators.c.

{
       free(ptr);
} 
static void * __mbfl__malloc ( unsigned int  sz) [static]

Definition at line 74 of file mbfl_allocators.c.

{
       return malloc(sz);
}
static void * __mbfl__realloc ( void *  ptr,
unsigned int  sz 
) [static]

Definition at line 79 of file mbfl_allocators.c.

{
       return realloc(ptr, sz);
}

Variable Documentation

Definition at line 72 of file mbfl_allocators.c.

Initial value:

Definition at line 62 of file mbfl_allocators.c.