diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-09 12:27:39 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-09 12:27:39 +0100 |
commit | 78035b995ff7bd518cc1291aa70c966b53510fd9 (patch) | |
tree | b401d96d1a29db9cc7c87beedc9c829cc46e56f8 /py/runtime0.h | |
parent | fc18c8e834a1ed72b9f61d82cd00099a4de1eab4 (diff) |
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.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r-- | py/runtime0.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |