summaryrefslogtreecommitdiffstatshomepage
path: root/py/bc.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-10 17:27:24 +0000
committerDamien <damien.p.george@gmail.com>2013-12-10 17:27:24 +0000
commitdb4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36 (patch)
tree41e4ca510fbfd590aa7341b23d62eff4d3c42399 /py/bc.h
parent261dbf8ce55e7237d5fa8cb65c1f33fc922db34d (diff)
downloadmicropython-db4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36.tar.gz
micropython-db4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36.zip
py: add skeletal import functionality.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/bc.h b/py/bc.h
index c29817150e..455d5054f6 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -90,9 +90,9 @@
#define PYBC_CALL_METHOD_KW (0x98) // uint
#define PYBC_CALL_METHOD_VAR_KW (0x99) // uint
-#define PYBC_IMPORT_NAME (0xe0)
-#define PYBC_IMPORT_FROM (0xe1)
-#define PYBC_IMPORT_STAR (0xe2)
+#define PYBC_IMPORT_NAME (0xe0) // qstr
+#define PYBC_IMPORT_FROM (0xe1) // qstr
+#define PYBC_IMPORT_STAR (0xe2)
py_obj_t py_execute_byte_code(const byte *code, const py_obj_t *args, uint n_args, uint n_state);
bool py_execute_byte_code_2(const byte **ip_in_out, py_obj_t *fastn, py_obj_t **sp_in_out);