summaryrefslogtreecommitdiffstatshomepage
path: root/py/stackctrl.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-06-08 22:07:27 +0100
committerDamien George <damien.p.george@gmail.com>2015-06-08 22:07:27 +0100
commit6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc (patch)
treee1cb7924827e19e8c556738b8e9dec84b2ee597a /py/stackctrl.h
parent371f4ba6b3166a9616c383c5438dec6556f1089e (diff)
downloadmicropython-6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc.tar.gz
micropython-6e56bb623c66007cd3fe6e0a48c3af9f1e0814fc.zip
py: Fallback to stack alloca for Python-stack if heap alloc fails.
If heap allocation for the Python-stack of a function fails then we may as well allocate the Python-stack on the C stack. This will allow to run more code without using the heap.
Diffstat (limited to 'py/stackctrl.h')
0 files changed, 0 insertions, 0 deletions