|
tesseract
4.00.00dev
|
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 79 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 47 of file emalloc.cpp.
| void* Erealloc | ( | void * | ptr, |
| int | size | ||
| ) |
Definition at line 64 of file emalloc.cpp.