commit | 2039757b854b656a41c9e041776ccd5dad8ec5fe | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Sat Mar 28 01:14:44 2015 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Fri Apr 03 00:03:07 2015 +0300 |
tree | 2450c1e129651c27cb5579bb26a288a841c70c70 | |
parent | f88eec0de24277e8713ebdfe34e1e7b852a25731 [diff] [blame] |
vm: Initial support for calling bytecode functions w/o C stack ("stackless").
diff --git a/py/mpconfig.h b/py/mpconfig.h index ae5e776..94e2737 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 */