mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 19:20:23 +02:00
Get handles out of collectors
This commit is contained in:
parent
607585e7f0
commit
9e8940e59f
10 changed files with 149 additions and 57 deletions
6
gc-api.h
6
gc-api.h
|
@ -38,6 +38,12 @@ GC_API_ int gc_option_from_string(const char *str);
|
|||
GC_API_ int gc_init(int argc, struct gc_option argv[],
|
||||
struct heap **heap, struct mutator **mutator);
|
||||
|
||||
struct gc_mutator_roots;
|
||||
struct gc_heap_roots;
|
||||
GC_API_ void gc_mutator_set_roots(struct mutator *mut,
|
||||
struct gc_mutator_roots *roots);
|
||||
GC_API_ void gc_heap_set_roots(struct heap *heap, struct gc_heap_roots *roots);
|
||||
|
||||
GC_API_ struct mutator* gc_init_for_thread(uintptr_t *stack_base,
|
||||
struct heap *heap);
|
||||
GC_API_ void gc_finish_for_thread(struct mutator *mut);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue