summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-15 23:47:59 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-15 23:47:59 +0100
commite6c0dff9671c493e9a13a22a1b8902dee88da064 (patch)
tree5f703c1264160f9c752f8ecb0e0683ddf7e0e622 /py/runtime0.h
parenta5190a7dac7a73e676d6d649035f846ea92d2d2d (diff)
py: Viper can now store to global.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 01504f59c..dfce041b8 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -102,7 +102,9 @@ typedef enum {
} mp_binary_op_t;
typedef enum {
- MP_F_LOAD_CONST_INT = 0,
+ MP_F_CONVERT_OBJ_TO_NATIVE = 0,
+ MP_F_CONVERT_NATIVE_TO_OBJ,
+ MP_F_LOAD_CONST_INT,
MP_F_LOAD_CONST_DEC,
MP_F_LOAD_CONST_STR,
MP_F_LOAD_NAME,
@@ -111,6 +113,7 @@ typedef enum {
MP_F_LOAD_ATTR,
MP_F_LOAD_METHOD,
MP_F_STORE_NAME,
+ MP_F_STORE_GLOBAL,
MP_F_STORE_ATTR,
MP_F_OBJ_SUBSCR,
MP_F_OBJ_IS_TRUE,