From 2039757b854b656a41c9e041776ccd5dad8ec5fe Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 28 Mar 2015 01:14:44 +0200 Subject: vm: Initial support for calling bytecode functions w/o C stack ("stackless"). --- py/mpconfig.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'py/mpconfig.h') diff --git a/py/mpconfig.h b/py/mpconfig.h index ae5e77625..94e2737de 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -125,6 +125,11 @@ #define MICROPY_QSTR_BYTES_IN_LEN (1) #endif +// Avoid using C stack when making Python function calls. +#ifndef MICROPY_STACKLESS +#define MICROPY_STACKLESS (0) +#endif + /*****************************************************************************/ /* Micro Python emitters */ -- cgit v1.2.3