1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-08 05:00:17 +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 1995-1996,1998,2000-2001,2003,2006,2008-2014,2018
/* Copyright 1995-1996,1998,2000-2001,2003,2006,2008-2014,2018,2025
Free Software Foundation, Inc.
This file is part of Guile.
@ -26,6 +26,7 @@
#include <stdio.h>
#include <string.h>
#include "bdw-gc.h"
#include "boolean.h"
#include "extensions.h"
#include "gsubr.h"