1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00

SCM_GC_MALLOC avoids BDW API

* libguile/gc.h (SCM_GC_MALLOC, SCM_GC_MALLOC_POINTERLESS): Always
redirect to scm_gc_malloc{,_pointerless}.  Don't include bdw-gc.h.
* libguile/gc-malloc.c (scm_realloc): Use Whippet gc_collect API.
* libguile/loader.c:
* libguile/scmsigs.c:
* libguile/weak-vector.c: Include bdw-gc.
This commit is contained in:
Andy Wingo 2025-05-04 11:13:52 +02:00
parent fcf8fa3d10
commit b1d7d3538a
5 changed files with 8 additions and 11 deletions

View file

@ -1,4 +1,4 @@
/* Copyright 2001,2009-2015,2017-2018,2021
/* Copyright 2001,2009-2015,2017-2018,2021,2025
Free Software Foundation, Inc.
This file is part of Guile.
@ -37,6 +37,7 @@
#include <sys/mman.h>
#endif
#include "bdw-gc.h"
#include "boolean.h"
#include "bytevectors.h"
#include "elf.h"