diff options
| author | Paul Sokolovsky | 2014-01-26 20:50:11 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-01-26 20:56:08 +0200 |
| commit | bf38e2a03aa428b90bbf3f10008dbd5e07553237 (patch) | |
| tree | 5241806e6c55650e6a4490d70f815992257dcdc9 /py/vm.c | |
| parent | 56bb636014aaab4ac5dfada6b80fe5c2de820d34 (diff) | |
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) |
