diff options
| author | Damien George | 2015-01-01 23:30:53 +0000 |
|---|---|---|
| committer | Damien George | 2015-01-07 20:33:00 +0000 |
| commit | b4b10fd350852e321624d74983cca286091b55a1 (patch) | |
| tree | 7ac4aa40d70be0170a61f649e9d73c42faa4ba33 /py/gc.h | |
| parent | ad2307c92c15f0aa90dbd0741fd2538719d0b5e1 (diff) | |
py: Put all global state together in state structures.
This patch consolidates all global variables in py/ core into one place,
in a global structure. Root pointers are all located together to make
GC tracing easier and more efficient.
Diffstat (limited to 'py/gc.h')
| -rw-r--r-- | py/gc.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -39,11 +39,6 @@ void gc_lock(void); void gc_unlock(void); bool gc_is_locked(void); -// This variable controls auto garbage collection. If set to 0 then the -// GC won't automatically run when gc_alloc can't find enough blocks. But -// you can still allocate/free memory and also explicitly call gc_collect. -extern uint16_t gc_auto_collect_enabled; - // A given port must implement gc_collect by using the other collect functions. void gc_collect(void); void gc_collect_start(void); |
