Mercurial > emacs
changeset 94992:05fbecb52ee0
(init_fns): Don't initialize weak_hash_tables here.
(init_weak_hash_tables): New fun. Initialize weak_hash_tables.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 15 May 2008 02:45:44 +0000 |
parents | a18589a9c8a3 |
children | b0b4e9fbfb37 |
files | src/fns.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Thu May 15 02:45:21 2008 +0000 +++ b/src/fns.c Thu May 15 02:45:44 2008 +0000 @@ -4257,6 +4257,12 @@ Weak Hash Tables ************************************************************************/ +void +init_weak_hash_tables () +{ + weak_hash_tables = NULL; +} + /* Sweep weak hash table H. REMOVE_ENTRIES_P non-zero means remove entries from the table that don't survive the current GC. REMOVE_ENTRIES_P zero means mark entries that are in use. Value is @@ -5284,7 +5290,6 @@ void init_fns () { - weak_hash_tables = NULL; } /* arch-tag: 787f8219-5b74-46bd-8469-7e1cc475fa31