tesseract
4.0.0-1-g2a2b
|
Go to the source code of this file.
Functions | |
void * | Emalloc (int Size) |
void * | Erealloc (void *ptr, int size) |
void | Efree (void *ptr) |
void Efree | ( | void * | ptr | ) |
Definition at line 45 of file emalloc.cpp.
void* Emalloc | ( | int | Size | ) |
This routine attempts to allocate the specified number of bytes. If the memory can be allocated, a pointer to the memory is returned. If the memory cannot be allocated, or if the allocation request is negative or zero, an error is trapped.
Size | number of bytes of memory to be allocated |
Definition at line 31 of file emalloc.cpp.
void* Erealloc | ( | void * | ptr, |
int | size | ||
) |
Definition at line 38 of file emalloc.cpp.