diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/spelchek/heap.h |
Initial commit
Diffstat (limited to 'support/spelchek/heap.h')
-rw-r--r-- | support/spelchek/heap.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/support/spelchek/heap.h b/support/spelchek/heap.h new file mode 100644 index 0000000000..8e9cd2cf9e --- /dev/null +++ b/support/spelchek/heap.h @@ -0,0 +1,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 + + + + + |