(toplevel): Include process.h.
authorGerd Moellmann <gerd@gnu.org>
Wed, 28 Feb 2001 13:30:02 +0000 (13:30 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 28 Feb 2001 13:30:02 +0000 (13:30 +0000)
commitece93c029103f1ec9c0801370afe260b791b008e
treec786ed199e24550bd8c6be2eec1ec311a91def97
parent98423852fcb3050bdf43c67f383f9a94ac7d1b86
(toplevel): Include process.h.
(enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE,
MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators.
(allocate_vectorlike): Make it a static function.  Add parameter TYPE.
(allocate_vector, allocate_hash_table, allocate_window)
(allocate_frame, allocate_process, allocate_other_vector): New
functions.
(Fmake_vector): Call allocate_vector instead of allocate_vectorlike.
(mark_maybe_pointer): New function.
(mark_memory): Also mark Lisp data to which only pointers
remain and not Lisp_Objects.
(min_heap_address, max_heap_address): New variables.
(mem_find): Return MEM_NIL if START is below min_heap_address or
above max_heap_address.
(mem_insert): Compute min_heap_address and max_heap_address.
src/ChangeLog
src/alloc.c