diff options
author | Damien <damien.p.george@gmail.com> | 2013-12-10 17:27:24 +0000 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-12-10 17:27:24 +0000 |
commit | db4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36 (patch) | |
tree | 41e4ca510fbfd590aa7341b23d62eff4d3c42399 /py/bc.h | |
parent | 261dbf8ce55e7237d5fa8cb65c1f33fc922db34d (diff) | |
download | micropython-db4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36.tar.gz micropython-db4c361f1cb805dca8e4c2d6c6a9ac61ae0c9c36.zip |
py: add skeletal import functionality.
Diffstat (limited to 'py/bc.h')
-rw-r--r-- | py/bc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |