Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
14067ea7
Commit
14067ea7
authored
May 15, 2008
by
Chong Yidong
Browse files
(init_fns): Don't initialize weak_hash_tables here.
(init_weak_hash_tables): New fun. Initialize weak_hash_tables.
parent
d0e4433b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/fns.c
src/fns.c
+6
-1
No files found.
src/fns.c
View file @
14067ea7
...
...
@@ -4257,6 +4257,12 @@ hash_clear (h)
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 @@ both `use-dialog-box' and this variable are non-nil. */);
void
init_fns
()
{
weak_hash_tables = NULL;
}
/* arch-tag: 787f8219-5b74-46bd-8469-7e1cc475fa31
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment