diff options
author | Damien <damien.p.george@gmail.com> | 2013-10-16 20:39:12 +0100 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-10-16 20:39:12 +0100 |
commit | bd25445a82c896752dd735f54e3495f0e5e7350a (patch) | |
tree | af9cf6cd95b739c94c227b7c1877977d9448035f /py/bc.h | |
parent | c226dca1f712914f63ead99fbf4f451aaba90d24 (diff) | |
download | micropython-bd25445a82c896752dd735f54e3495f0e5e7350a.tar.gz micropython-bd25445a82c896752dd735f54e3495f0e5e7350a.zip |
Implement BC & runtime support for generator/yielding.
Diffstat (limited to 'py/bc.h')
-rw-r--r-- | py/bc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -93,4 +93,5 @@ #define PYBC_IMPORT_FROM (0xe1) #define PYBC_IMPORT_STAR (0xe2) -py_obj_t py_execute_byte_code(const byte *code, uint len, const py_obj_t *args, uint n_args); +py_obj_t py_execute_byte_code(const byte *code, const py_obj_t *args, uint n_args); +bool py_execute_byte_code_2(const byte *code, const byte **ip_in_out, py_obj_t *fastn, py_obj_t **sp_in_out); |