diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 20:44:17 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-11-19 20:44:17 +0000 |
commit | a8bd2af7103bca7145f8c566ec46f27e2be8d182 (patch) | |
tree | 2c14d8d3402e7799b161852676dc8698310ed59f /frontends/amiga/memory.h | |
parent | 81a7e0cbe9851c2388e53950a6db3e75b1156ead (diff) | |
download | netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.gz netsurf-a8bd2af7103bca7145f8c566ec46f27e2be8d182.tar.bz2 |
More allocvec/malloc replacements
Diffstat (limited to 'frontends/amiga/memory.h')
-rw-r--r-- | frontends/amiga/memory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/amiga/memory.h b/frontends/amiga/memory.h index e74f795c3..5e6286426 100644 --- a/frontends/amiga/memory.h +++ b/frontends/amiga/memory.h @@ -21,6 +21,10 @@ #include <exec/types.h> +/* Alloc/free chip memory */ +#define ami_memory_chip_alloc(s) AllocVec(s, MEMF_CHIP) +#define ami_memory_chip_free(p) FreeVec(p) + /* 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); |