Tesseract  3.02
tesseract-ocr/cutil/freelist.h File Reference
#include <stdio.h>

Go to the source code of this file.


int * memalloc (int size)
int * memrealloc (void *ptr, int size, int oldsize)
void memfree (void *element)

Function Documentation

int* memalloc ( int  size)

Definition at line 22 of file freelist.cpp.

  return static_cast<int*>(malloc(static_cast<size_t>(size)));
void memfree ( void *  element)

Definition at line 30 of file freelist.cpp.

int* memrealloc ( void *  ptr,
int  size,
int  oldsize 

Definition at line 26 of file freelist.cpp.

  return static_cast<int*>(realloc(ptr, static_cast<size_t>(size)));