diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-20 10:01:57 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-20 10:01:57 -0800 |
commit | aaed1aa81d33693a28d6bd49117e4130b00bfa56 (patch) | |
tree | 6c1767cffb8ff8eeeb802d658f68a951a83ab697 /gc.h | |
parent | e1bf988db6f77edc3da566b8f0dc768d3f887080 (diff) | |
download | txr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.tar.gz txr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.tar.bz2 txr-aaed1aa81d33693a28d6bd49117e4130b00bfa56.zip |
Changing ``obj_t *'' occurences to a ``val'' typedef. (Ideally,
we wouldn't have to declare object variables at all, so why
use an obtuse syntax to do so?)
Diffstat (limited to 'gc.h')
-rw-r--r-- | gc.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -23,13 +23,13 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -void gc_init(obj_t **stack_bottom); -obj_t *prot1(obj_t **loc); -void rel1(obj_t **loc); -void protect(obj_t **, ...); -void release(obj_t **, ...); -obj_t *make_obj(void); +void gc_init(val *stack_bottom); +val prot1(val *loc); +void rel1(val *loc); +void protect(val *, ...); +void release(val *, ...); +val make_obj(void); void gc(void); int gc_state(int); -void gc_mark(obj_t *); -int gc_is_reachable(obj_t *); +void gc_mark(val); +int gc_is_reachable(val); |