Mercurial > hg > xemacs-beta
diff src/lrecord.h @ 5177:b785049378e3
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 23 Feb 2010 07:28:35 -0600 |
parents | 8b2f75cecb89 c8f90d61dcf3 |
children | 97eb4942aec8 |
line wrap: on
line diff
--- a/src/lrecord.h Mon Feb 22 06:49:30 2010 -0600 +++ b/src/lrecord.h Tue Feb 23 07:28:35 2010 -0600 @@ -523,6 +523,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)