summaryrefslogtreecommitdiff
path: root/support/spelchek/heap.h
blob: 8e9cd2cf9e9fddfd172bb5ef8af216c16585791c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef HEAP_H
#define HEAP_H

#ifndef HEAPIMPLEMENTATION
typedef struct {char VAXDUMMY;} heap;
#endif

heap *heap_create( long block_size );          /* allocates memory for heap */
void *heap_allocate( heap *HEAP, long size ); /* allocates on heap */
void heap_resize( heap *HEAP, void *entry, long size );
void heap_delete( heap *HEAP );
    
#endif