summaryrefslogtreecommitdiffstatshomepage
path: root/py/bc.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-16 20:39:12 +0100
committerDamien <damien.p.george@gmail.com>2013-10-16 20:39:12 +0100
commitbd25445a82c896752dd735f54e3495f0e5e7350a (patch)
treeaf9cf6cd95b739c94c227b7c1877977d9448035f /py/bc.h
parentc226dca1f712914f63ead99fbf4f451aaba90d24 (diff)
downloadmicropython-bd25445a82c896752dd735f54e3495f0e5e7350a.tar.gz
micropython-bd25445a82c896752dd735f54e3495f0e5e7350a.zip
Implement BC & runtime support for generator/yielding.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/bc.h b/py/bc.h
index 1a5bcd9b35..7ea2235f70 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -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);