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:
parent
8edfd42ca1
commit
c42c538aaa
4 changed files with 7 additions and 6 deletions
5
gc-api.h
5
gc-api.h
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue