diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-26 11:25:38 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-26 11:25:38 -0800 |
commit | addf60b2e6176d8cce23c5608dee10ce196db94b (patch) | |
tree | 5241806e6c55650e6a4490d70f815992257dcdc9 /py/vm.c | |
parent | 56bb636014aaab4ac5dfada6b80fe5c2de820d34 (diff) | |
parent | bf38e2a03aa428b90bbf3f10008dbd5e07553237 (diff) |
Merge pull request #228 from pfalcon/gen-send
Implement send() method for generators.
Diffstat (limited to 'py/vm.c')
-rw-r--r-- | py/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ mp_obj_t mp_execute_byte_code(const byte *code, const mp_obj_t *args, uint n_arg // fastn has items in reverse order (fastn[0] is local[0], fastn[-1] is local[1], etc) // sp points to bottom of stack which grows up +// returns true if bytecode yielded bool mp_execute_byte_code_2(const byte *code_info, const byte **ip_in_out, mp_obj_t *fastn, mp_obj_t **sp_in_out) { // careful: be sure to declare volatile any variables read in the exception handler (written is ok, I think) |