[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/src alloc.c
From: |
Stefan Monnier |
Subject: |
[Emacs-commit] emacs/src alloc.c |
Date: |
Fri, 27 Jun 2003 17:54:21 -0400 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch:
Changes by: Stefan Monnier <monnier+gnu/address@hidden> 03/06/27
17:54:20
Modified files:
src : alloc.c
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/alloc.c.diff?tr1=1.305&tr2=1.306&r1=text&r2=text