diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-01-19 11:48:48 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-01-19 11:48:48 +0000 |
| commit | cbd2f7482c8bf457cc17da763859dbba6e03e2a2 (patch) | |
| tree | 8d6badc4197fe0d5763d381dd97586176db9fbae /py/bc.h | |
| parent | e02b2d43912d13d216936786e4b7a33918877418 (diff) | |
py: Add module/function/class name to exceptions.
Exceptions know source file, line and block name.
Also tidy up some debug printing functions and provide a global
flag to enable/disable them.
Diffstat (limited to 'py/bc.h')
| -rw-r--r-- | py/bc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,2 +1,3 @@ mp_obj_t mp_execute_byte_code(const byte *code, const mp_obj_t *args, uint n_args, uint n_state); 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); +void mp_byte_code_print(const byte *code, int len); |
