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

gc_init takes const gc_options

This commit is contained in:
Andy Wingo 2023-02-28 09:27:59 +01:00
parent 8edfd42ca1
commit c42c538aaa
4 changed files with 7 additions and 6 deletions

View file

@ -22,8 +22,9 @@ GC_API_ void* gc_call_with_stack_addr(void* (*f)(struct gc_stack_addr *,
void *),
void *data) GC_NEVER_INLINE;
GC_API_ int gc_init(struct gc_options *options, struct gc_stack_addr *base,
struct gc_heap **heap, struct gc_mutator **mutator);
GC_API_ int gc_init(const struct gc_options *options,
struct gc_stack_addr *base, struct gc_heap **heap,
struct gc_mutator **mutator);
struct gc_mutator_roots;
GC_API_ void gc_mutator_set_roots(struct gc_mutator *mut,