All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
freelist.h
Go to the documentation of this file.
1 /* -*-C-*-
2  ********************************************************************************
3  *
4  * File: freelist.h (Formerly freelist.h)
5  * Description: Memory allocator
6  * Author: Mark Seaman, OCR Technology
7  * Created: Wed May 30 13:50:28 1990
8  * Modified: Mon Dec 10 15:15:25 1990 (Mark Seaman) marks@hpgrlt
9  * Language: C
10  * Package: N/A
11  * Status: Experimental (Do Not Distribute)
12  *
13  * (c) Copyright 1990, Hewlett-Packard Company.
14  ** Licensed under the Apache License, Version 2.0 (the "License");
15  ** you may not use this file except in compliance with the License.
16  ** You may obtain a copy of the License at
17  ** http://www.apache.org/licenses/LICENSE-2.0
18  ** Unless required by applicable law or agreed to in writing, software
19  ** distributed under the License is distributed on an "AS IS" BASIS,
20  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  ** See the License for the specific language governing permissions and
22  ** limitations under the License.
23  *
24  *********************************************************************************/
25 
26 #ifndef FREELIST_H
27 #define FREELIST_H
28 
29 /*----------------------------------------------------------------------
30  I n c l u d e s
31 ----------------------------------------------------------------------*/
32 #include <stdio.h>
33 
34 /*----------------------------------------------------------------------
35  F u n c t i o n s
36 ----------------------------------------------------------------------*/
37 int *memalloc(int size);
38 
39 int *memrealloc(void *ptr, int size, int oldsize);
40 
41 void memfree(void *element);
42 
43 #endif
int * memrealloc(void *ptr, int size, int oldsize)
Definition: freelist.cpp:26
int * memalloc(int size)
Definition: freelist.cpp:22
void memfree(void *element)
Definition: freelist.cpp:30