X-Git-Url: https://git.8kb.co.uk/?p=dataflex%2Fdf32func;a=blobdiff_plain;f=src%2Fc%2Fmemman.h;fp=src%2Fc%2Fmemman.h;h=dd03cbc63ab46fd05e0a325bed0f6192bea834e6;hp=0000000000000000000000000000000000000000;hb=21b727fd491be6f9953f1675b18385296cab0955;hpb=0342737c4763de343d9d87c0cb25a8e31f0211e7 diff --git a/src/c/memman.h b/src/c/memman.h new file mode 100644 index 0000000..dd03cbc --- /dev/null +++ b/src/c/memman.h @@ -0,0 +1,19 @@ +/*------------------------------------------------------------------------- + * memman.h + * definitions for wrappers around malloc/realloc/free + * + * Copyright (c) 2007-2015, glyn@8kb.co.uk + * Author: Glyn Astill + * + *------------------------------------------------------------------------- + */ + +#ifndef __MEMMAN_H__ +#define __MEMMAN_H__ + +extern void * wmalloc(unsigned int size); +extern void * wrealloc(void *iptr, unsigned int size); +extern void wfree(void *iptr); +extern void * reallocate_block(void *iptr, int *allocated_size, int required_size, int chunk_size); + +#endif