summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-10-22 23:45:37 +0100
committerDamien George <damien.p.george@gmail.com>2015-11-13 12:49:18 +0000
commit3a3db4dcf0400cffef860f61a84979cb1f7a7541 (patch)
treecfdcb6931cb120f2f993e10e7db6dc14f40b1ded /py/runtime0.h
parent9b7f583b0ca37ee87e5fb82e2d65fcd96a609b2f (diff)
downloadmicropython-3a3db4dcf0400cffef860f61a84979cb1f7a7541.tar.gz
micropython-3a3db4dcf0400cffef860f61a84979cb1f7a7541.zip
py: Put all bytecode state (arg count, etc) in bytecode.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 1d7d64bea6..d00949f929 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -30,6 +30,7 @@
#define MP_SCOPE_FLAG_VARARGS (0x01)
#define MP_SCOPE_FLAG_VARKEYWORDS (0x02)
#define MP_SCOPE_FLAG_GENERATOR (0x04)
+#define MP_SCOPE_FLAG_DEFKWARGS (0x08)
// types for native (viper) function signature
#define MP_NATIVE_TYPE_OBJ (0x00)