py: Put all bytecode state (arg count, etc) in bytecode.

This commit is contained in:
Damien George
2015-10-22 23:45:37 +01:00
parent 9b7f583b0c
commit 3a3db4dcf0
14 changed files with 95 additions and 78 deletions

View File

@@ -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)