Mercurial > hg > xemacs-beta
diff src/lrecord.h @ 5126:2a462149bd6a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 19:04:27 -0600 |
parents | b5df3737028a c8f90d61dcf3 |
children | a9c41067dd88 |
line wrap: on
line diff
--- a/src/lrecord.h Wed Feb 24 01:58:04 2010 -0600 +++ b/src/lrecord.h Wed Feb 24 19:04:27 2010 -0600 @@ -538,6 +538,16 @@ #else /* not NEW_GC */ +enum lrecord_alloc_status +{ + ALLOC_IN_USE, + ALLOC_FREE, + ALLOC_ON_FREE_LIST +}; + +void tick_lrecord_stats (const struct lrecord_header *h, + enum lrecord_alloc_status status); + #define LRECORD_FREE_P(ptr) \ (((struct lrecord_header *) ptr)->type == lrecord_type_free)