summaryrefslogtreecommitdiff
path: root/libguile/whippet/src/gc-internal.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2025-04-11 14:10:41 +0200
committerAndy Wingo <wingo@pobox.com>2025-04-11 14:10:41 +0200
commitdb181e67ff482ab08cbdb0c1a88997b3a886f900 (patch)
tree6d16fbca515ae3cf506a9d16dbc89c472446e5d9 /libguile/whippet/src/gc-internal.h
parentaf96820e072d18c49ac03e80c6f3466d568dc77d (diff)
parentf909438596f63ecd44c5b9a28385260714857361 (diff)
downloadguile-db181e67ff482ab08cbdb0c1a88997b3a886f900.tar.gz
Merged Whippet into libguile/whippet
Diffstat (limited to 'libguile/whippet/src/gc-internal.h')
-rw-r--r--libguile/whippet/src/gc-internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libguile/whippet/src/gc-internal.h b/libguile/whippet/src/gc-internal.h
new file mode 100644
index 000000000..715b72a99
--- /dev/null
+++ b/libguile/whippet/src/gc-internal.h
@@ -0,0 +1,16 @@
+#ifndef GC_INTERNAL_H
+#define GC_INTERNAL_H
+
+#ifndef GC_IMPL
+#error internal header file, not part of API
+#endif
+
+#include "gc-ephemeron-internal.h"
+#include "gc-finalizer-internal.h"
+#include "gc-options-internal.h"
+
+uint64_t gc_heap_total_bytes_allocated(struct gc_heap *heap);
+void gc_mutator_adjust_heap_size(struct gc_mutator *mut, uint64_t new_size);
+
+
+#endif // GC_INTERNAL_H