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

Expose definition of gc_stack_addr, rework API

This commit is contained in:
Andy Wingo 2025-04-18 15:08:01 +02:00
parent d3df1a632a
commit 2dab407ec1
13 changed files with 82 additions and 48 deletions

View file

@ -1148,7 +1148,7 @@ heap_init(struct gc_heap *heap, const struct gc_options *options) {
}
int
gc_init(const struct gc_options *options, struct gc_stack_addr *stack_base,
gc_init(const struct gc_options *options, struct gc_stack_addr stack_base,
struct gc_heap **heap, struct gc_mutator **mut,
struct gc_event_listener event_listener,
void *event_listener_data) {
@ -1217,8 +1217,7 @@ gc_init(const struct gc_options *options, struct gc_stack_addr *stack_base,
}
struct gc_mutator*
gc_init_for_thread(struct gc_stack_addr *stack_base,
struct gc_heap *heap) {
gc_init_for_thread(struct gc_stack_addr stack_base, struct gc_heap *heap) {
struct gc_mutator *ret = calloc(1, sizeof(struct gc_mutator));
if (!ret)
GC_CRASH();