(VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Jun 2003 21:54:38 +0000 (21:54 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Jun 2003 21:54:38 +0000 (21:54 +0000)
commit3ef06d12cd6e9d8a0d74397a8e3f73d9609f5eeb
tree7cfb2b9db649d5aa35ab7df0cb7c8bb438905f86
parent356d2ee4664f65562125a2414d8149ce7fb01321
(VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.
(GC_STRING_BYTES): Don't mask markbit (it's only used on `size').
(allocate_buffer): Move.
(string_bytes): Don't mask markbit of `size_byte'.
(mark_maybe_object, mark_maybe_pointer, Fgarbage_collect)
(mark_object, mark_buffer, survives_gc_p, gc_sweep):
Use the `size' field of buffers (rather than the `name' field) for
the mark bit, as is done for all other vectorlike objects.
Use the new macros to access the mark bit of vectorlike objects.
src/ChangeLog
src/alloc.c