mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 19:20:23 +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
2
semi.c
2
semi.c
|
@ -408,7 +408,7 @@ int gc_options_parse_and_set(struct gc_options *options, int option,
|
|||
return gc_common_options_parse_and_set(&options->common, option, value);
|
||||
}
|
||||
|
||||
int gc_init(struct gc_options *options, struct gc_stack_addr *stack_base,
|
||||
int gc_init(const struct gc_options *options, struct gc_stack_addr *stack_base,
|
||||
struct gc_heap **heap, struct gc_mutator **mut) {
|
||||
GC_ASSERT_EQ(gc_allocator_allocation_pointer_offset(),
|
||||
offsetof(struct semi_space, hp));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue