From 78035b995ff7bd518cc1291aa70c966b53510fd9 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 9 Apr 2014 12:27:39 +0100 Subject: py, compiler: Clean up and compress scope/compile structures. Convert int types to uint where sensible, and then to uint8_t or uint16_t where possible to reduce RAM usage. --- py/runtime0.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/runtime0.h') diff --git a/py/runtime0.h b/py/runtime0.h index be598c670..6ee70aa01 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -1,4 +1,5 @@ // taken from python source, Include/code.h +// These must fit in 8 bits; see scope.h #define MP_SCOPE_FLAG_OPTIMISED 0x01 #define MP_SCOPE_FLAG_NEWLOCALS 0x02 #define MP_SCOPE_FLAG_VARARGS 0x04 -- cgit v1.2.3