Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Memory


Detailed Description

Some basic Operations with the memory are done in this module.

Functions


Function Documentation

void memFreeFunction void *  pointer  ) 
 

sometimes memFree must be a function

Parameters:
pointer the pointer that determines the memory free function.
Definition at line 62 of file memory.c.

void* memMallocCheck void *  ptr,
char *  file,
int  line
 

used for checking the memory allocation for pointers.

a function that checks whether pointer is NULL, used by a version of memMalloc (c. f. memMalloc.h)

Parameters:
ptr the ptr whose value has to be checked for NULL.
file the file that contains the pointer.
line the line in which the pointer exists.
Returns:
error message if pointer equals null else returns the pointer.
Definition at line 47 of file memory.c.


BLAH 0.95 (20 Oct 2004)