* alloc.c: #include "intervals.h".
authorJoseph Arceneaux <jla@gnu.org>
Fri, 2 Oct 1992 19:59:42 +0000 (19:59 +0000)
committerJoseph Arceneaux <jla@gnu.org>
Fri, 2 Oct 1992 19:59:42 +0000 (19:59 +0000)
commitd5e35230b582132c7246f117c118151500cfa595
tree2240c60991cb771f3857e47aa42e9905c188472a
parent8d4e077b7093e6d58ea94253265d6a3de22f3c9c
* alloc.c: #include "intervals.h".
(init_intervals, make_interval,
mark_interval, mark_interval_tree): New functions conditionally
defined.
(make_uninit_string): Call INITIALIZE_INTERVAL.
(INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE):
New macros, conditionally defined.
(mark_object): Call MARK_INTERVAL_TREE in case Lisp_String.
(gc_sweep): If text properties are in use, place all unmarked
intervals on the free list.  Call UNMARK_BALANCE_INTERVALS on
`buffer->intervals' when unmarking `buffer'.
(compact_strings): Include INTERVAL_PTR_SIZE in calculation for
target of bcopy when relocating strings.
(init_alloc_once): Call INIT_INTERVALS.
(make_pure_string): Include INTERVAL_PTR_SIZE in calculation of
`size'.
src/alloc.c