From d212f6a2fcc841987daf7931aabbc7689320528f Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 24 May 2012 10:32:19 -0700 Subject: [PATCH] mymemory: define the "opposite" of MEMALLOC We may want an identifier to show that a particular class is intended to be snapshotted. --- mymemory.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mymemory.h b/mymemory.h index 85ef7b0..afaffa4 100644 --- a/mymemory.h +++ b/mymemory.h @@ -17,6 +17,9 @@ MYFREE(p);\ } +/* Empty define; represents opposite of MEMALLOC */ +#define SNAPSHOTALLOC + void *MYMALLOC(size_t size); void MYFREE(void *ptr); -- 2.34.1