aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/pool.c
diff options
context:
space:
mode:
authorRichard Brooksby2013-05-08 22:43:51 +0100
committerRichard Brooksby2013-05-08 22:43:51 +0100
commit71b7e4f70a710acc666bbdf55502c1ef66c76a09 (patch)
tree3111a146c2266cbfafa0688843b2c08d4281ad7c /mps/code/pool.c
parentd396431c252b0f6330c1c31995adddfcd0bad7ae (diff)
downloademacs-71b7e4f70a710acc666bbdf55502c1ef66c76a09.tar.gz
emacs-71b7e4f70a710acc666bbdf55502c1ef66c76a09.zip
Pushing varargs decoding into a pool class method. much simpler.
Copied from Perforce Change: 181642 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/pool.c')
-rw-r--r--mps/code/pool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mps/code/pool.c b/mps/code/pool.c
index 283f3244ff4..865bf3ec2bf 100644
--- a/mps/code/pool.c
+++ b/mps/code/pool.c
@@ -47,6 +47,7 @@ Bool PoolClassCheck(PoolClass class)
47 /* greater than the size of the class-specific portion of the instance */ 47 /* greater than the size of the class-specific portion of the instance */
48 CHECKL(class->offset <= (size_t)(class->size - sizeof(PoolStruct))); 48 CHECKL(class->offset <= (size_t)(class->size - sizeof(PoolStruct)));
49 CHECKL(AttrCheck(class->attr)); 49 CHECKL(AttrCheck(class->attr));
50 CHECKL(FUNCHECK(class->varargs));
50 CHECKL(FUNCHECK(class->init)); 51 CHECKL(FUNCHECK(class->init));
51 CHECKL(FUNCHECK(class->finish)); 52 CHECKL(FUNCHECK(class->finish));
52 CHECKL(FUNCHECK(class->alloc)); 53 CHECKL(FUNCHECK(class->alloc));