Tesseract  3.02
tesseract-ocr/cutil/freelist.h
Go to the documentation of this file.
00001 /* -*-C-*-
00002  ********************************************************************************
00003  *
00004  * File:        freelist.h  (Formerly freelist.h)
00005  * Description:  Memory allocator
00006  * Author:       Mark Seaman, OCR Technology
00007  * Created:      Wed May 30 13:50:28 1990
00008  * Modified:     Mon Dec 10 15:15:25 1990 (Mark Seaman) marks@hpgrlt
00009  * Language:     C
00010  * Package:      N/A
00011  * Status:       Experimental (Do Not Distribute)
00012  *
00013  * (c) Copyright 1990, Hewlett-Packard Company.
00014  ** Licensed under the Apache License, Version 2.0 (the "License");
00015  ** you may not use this file except in compliance with the License.
00016  ** You may obtain a copy of the License at
00017  ** http://www.apache.org/licenses/LICENSE-2.0
00018  ** Unless required by applicable law or agreed to in writing, software
00019  ** distributed under the License is distributed on an "AS IS" BASIS,
00020  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00021  ** See the License for the specific language governing permissions and
00022  ** limitations under the License.
00023  *
00024  *********************************************************************************/
00025 
00026 #ifndef FREELIST_H
00027 #define FREELIST_H
00028 
00029 /*----------------------------------------------------------------------
00030               I n c l u d e s
00031 ----------------------------------------------------------------------*/
00032 #include <stdio.h>
00033 
00034 /*----------------------------------------------------------------------
00035               F u n c t i o n s
00036 ----------------------------------------------------------------------*/
00037 int *memalloc(int size);
00038 
00039 int *memrealloc(void *ptr, int size, int oldsize);
00040 
00041 void memfree(void *element);
00042 
00043 #endif