mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Use GC's accessors rather than its global variables.
* libguile/gc.c (scm_storage_prehistory): Use `GC_set_free_space_divisor ()' instead of accessing the global variable directly.
This commit is contained in:
parent
72e6b60838
commit
21c097e0ed
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ void
|
|||
scm_storage_prehistory ()
|
||||
{
|
||||
GC_all_interior_pointers = 0;
|
||||
GC_free_space_divisor = scm_getenv_int ("GC_FREE_SPACE_DIVISOR", 3);
|
||||
GC_set_free_space_divisor (scm_getenv_int ("GC_FREE_SPACE_DIVISOR", 3));
|
||||
|
||||
GC_INIT ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue