diff options
author | Damien George <damien.p.george@gmail.com> | 2016-05-05 11:00:19 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-28 11:28:50 +0100 |
commit | f1dbd2909e864deaedd35482acda73ef2dbf8882 (patch) | |
tree | 879de23e143bab00bf9db4c79d28f26cec281fac | |
parent | c2508ac8bde244494c20dbbe4e01853a23a31328 (diff) |
unix/gccollect: Provide declaration of exported function.
-rw-r--r-- | unix/gccollect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/gccollect.c b/unix/gccollect.c index 3e012b542..397c4ffe1 100644 --- a/unix/gccollect.c +++ b/unix/gccollect.c @@ -136,6 +136,9 @@ STATIC void gc_helper_get_regs(regs_t arr) { #endif // MICROPY_GCREGS_SETJMP +// this function is used by mpthreadport.c +void gc_collect_regs_and_stack(void); + void gc_collect_regs_and_stack(void) { regs_t regs; gc_helper_get_regs(regs); |