diff options
Diffstat (limited to 'py/gc.h')
-rw-r--r-- | py/gc.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -28,9 +28,15 @@ #include <stdbool.h> #include <stddef.h> +#include "py/mpconfig.h" void gc_init(void *start, void *end); +#if MICROPY_GC_SPLIT_HEAP +// Used to add additional memory areas to the heap. +void gc_add(void *start, void *end); +#endif + // These lock/unlock functions can be nested. // They can be used to prevent the GC from allocating/freeing. void gc_lock(void); |