mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-10 15:50:50 +02:00
Add gc_collect(mutator) API
This commit is contained in:
parent
1b3bc2f3b5
commit
44f37a373c
4 changed files with 11 additions and 1 deletions
2
gc-api.h
2
gc-api.h
|
@ -57,6 +57,8 @@ GC_API_ void* gc_call_without_gc(struct gc_mutator *mut, void* (*f)(void*),
|
|||
void *data) GC_NEVER_INLINE;
|
||||
GC_API_ void gc_print_stats(struct gc_heap *heap);
|
||||
|
||||
GC_API_ void gc_collect(struct gc_mutator *mut);
|
||||
|
||||
static inline void gc_clear_fresh_allocation(struct gc_ref obj,
|
||||
size_t size) GC_ALWAYS_INLINE;
|
||||
static inline void gc_clear_fresh_allocation(struct gc_ref obj,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue