diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-12-20 11:20:01 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-20 11:20:01 +1100 |
| commit | 0d32f1aeb3e3792f2bd04c499a6d5a22c2efdf0c (patch) | |
| tree | 4751284f824c8acde7e6efc93cda1038c973009b /esp8266/gccollect.h | |
| parent | 5e1ccddc825e1304dbf235e391df3e1a5aea0723 (diff) | |
esp8266: When doing GC be sure to trace the memory holding native code.
Native code can hold pointers to objects on the heap, eg constant objects
like big integers.
Diffstat (limited to 'esp8266/gccollect.h')
| -rw-r--r-- | esp8266/gccollect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/gccollect.h b/esp8266/gccollect.h index e360ef2f2..d81cba12c 100644 --- a/esp8266/gccollect.h +++ b/esp8266/gccollect.h @@ -38,3 +38,4 @@ extern uint32_t _heap_start; extern uint32_t _heap_end; void gc_collect(void); +void esp_native_code_gc_collect(void); |
