diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 17:02:18 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 17:02:18 +0000 |
commit | 81a7e0cbe9851c2388e53950a6db3e75b1156ead (patch) | |
tree | 6e0749ea07a0bd9ecdb7b246ae6d267dfab1067a /frontends/amiga/memory.h | |
parent | cdde777d9cf157460201c59c5cc05c7479c3f830 (diff) | |
download | netsurf-81a7e0cbe9851c2388e53950a6db3e75b1156ead.tar.gz netsurf-81a7e0cbe9851c2388e53950a6db3e75b1156ead.tar.bz2 |
Change some AllocVecs to mallocs and FreeVecs to free
Need to be careful with ASPrintf
Diffstat (limited to 'frontends/amiga/memory.h')
-rw-r--r-- | frontends/amiga/memory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/amiga/memory.h b/frontends/amiga/memory.h index 1c51f3081..e74f795c3 100644 --- a/frontends/amiga/memory.h +++ b/frontends/amiga/memory.h @@ -21,7 +21,11 @@ #include <exec/types.h> -/* Standard memory allocation */ +/* Alloc/free a block cleared to non-zero */ +void *ami_memory_clear_alloc(size_t size, UBYTE value); +void ami_memory_clear_free(void *p); + +/* Standard memory allocation - to be removed */ void *ami_misc_allocvec_clear(int size, UBYTE value); /* Itempool cross-compatibility */ |