summaryrefslogtreecommitdiff
path: root/libguile/whippet/api/gc-embedder-api.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2025-05-15 14:47:07 +0200
committerAndy Wingo <wingo@pobox.com>2025-05-15 14:47:07 +0200
commitb97b12a19bd2715c99a7f9bcfc31fbcdb93fddc9 (patch)
tree353be3582f195b47fe5d437e080a1256486f4dde /libguile/whippet/api/gc-embedder-api.h
parentf5a1d2ca33ef23066547c68602ae9b64890f1afe (diff)
parent08e6633f93803300e6700247f9a698ee423596dc (diff)
downloadguile-b97b12a19bd2715c99a7f9bcfc31fbcdb93fddc9.tar.gz
Merge remote-tracking branch 'whippet/main' into wip-whippet
Diffstat (limited to 'libguile/whippet/api/gc-embedder-api.h')
-rw-r--r--libguile/whippet/api/gc-embedder-api.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libguile/whippet/api/gc-embedder-api.h b/libguile/whippet/api/gc-embedder-api.h
index c1b272a51..28a0fb6de 100644
--- a/libguile/whippet/api/gc-embedder-api.h
+++ b/libguile/whippet/api/gc-embedder-api.h
@@ -50,6 +50,25 @@ GC_EMBEDDER_API inline void gc_trace_heap_roots(struct gc_heap_roots *roots,
struct gc_heap *heap,
void *trace_data);
+GC_EMBEDDER_API inline void
+gc_trace_mutator_conservative_roots(struct gc_mutator_roots *roots,
+ void (*trace_range)(uintptr_t start,
+ uintptr_t end,
+ int possibly_interior,
+ struct gc_heap *heap,
+ void *data),
+ struct gc_heap *heap,
+ void *data);
+GC_EMBEDDER_API inline void
+gc_trace_heap_conservative_roots(struct gc_heap_roots *roots,
+ void (*trace_range)(uintptr_t start,
+ uintptr_t end,
+ int possibly_interior,
+ struct gc_heap *heap,
+ void *data),
+ struct gc_heap *heap,
+ void *data);
+
GC_EMBEDDER_API inline uintptr_t gc_object_forwarded_nonatomic(struct gc_ref ref);
GC_EMBEDDER_API inline void gc_object_forward_nonatomic(struct gc_ref ref,
struct gc_ref new_ref);