summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-16 22:06:11 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-16 22:06:11 +0100
commit86de21b810693bccdd88d53aacb6d8acf26f09e0 (patch)
treece8ebcf1ac02ccffa15a235fee4d82272b149c48 /py/runtime0.h
parent339bdccc58543aea25fd6f4ba1f831062f21c0cc (diff)
py: Viper can call functions with native types, and raise exceptions.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index dfce041b8..8ae8afacc 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -129,12 +129,13 @@ typedef enum {
MP_F_STORE_SET,
#endif
MP_F_MAKE_FUNCTION_FROM_RAW_CODE,
- MP_F_CALL_FUNCTION_N_KW_FOR_NATIVE,
+ MP_F_NATIVE_CALL_FUNCTION_N_KW,
MP_F_CALL_METHOD_N_KW,
MP_F_GETITER,
MP_F_ITERNEXT,
+ MP_F_NATIVE_RAISE,
MP_F_IMPORT_NAME,
- MP_F_IMPORT_FROM,
+ MP_F_IMPORT_FROM, // = 31 XXX this is the limit for thumb code...
MP_F_IMPORT_ALL,
#if MICROPY_PY_BUILTINS_SLICE
MP_F_NEW_SLICE,