1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-19 11:10:25 +02:00

Refactor embedder interface for conservative GC

Now users don't have to #ifdef on conservative vs precise tracing; it's
just a generic embedder concern.
This commit is contained in:
Andy Wingo 2022-10-26 11:59:56 +02:00
parent 910b62af8f
commit c614c2e40b
14 changed files with 109 additions and 198 deletions

View file

@ -5,12 +5,7 @@
#include "assert.h"
#include "gc-api.h"
#if GC_PRECISE_ROOTS
#include "precise-roots-api.h"
#endif
#if GC_CONSERVATIVE_ROOTS
#include "conservative-roots-api.h"
#endif
#include "simple-roots-api.h"
#include "quads-types.h"
#include "simple-allocator.h"