summaryrefslogtreecommitdiffstatshomepage
path: root/py/bc.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-03 01:24:29 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-03 01:26:51 +0300
commita4ac5b9f05367c66eb22ae3a0274968db697420c (patch)
treea767cae3f94f412e08b635051b1b16a2816bb886 /py/bc.h
parentdd0dee3afcfbabf6b1efe36136b5506857e76aef (diff)
downloadmicropython-a4ac5b9f05367c66eb22ae3a0274968db697420c.tar.gz
micropython-a4ac5b9f05367c66eb22ae3a0274968db697420c.zip
showbc: Make sure it's possible to trace MAKE_FUNCTION arg to actual bytecode.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/bc.h b/py/bc.h
index 6c604fe1c0..915a0f269e 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -51,7 +51,7 @@ typedef struct _mp_code_state {
mp_vm_return_kind_t mp_execute_bytecode(const byte *code, const mp_obj_t *args, uint n_args, const mp_obj_t *args2, uint n_args2, mp_obj_t *ret);
mp_vm_return_kind_t mp_execute_bytecode2(mp_code_state *code_state, volatile mp_obj_t inject_exc);
-void mp_bytecode_print(const byte *code, int len);
+void mp_bytecode_print(const void *descr, const byte *code, int len);
void mp_bytecode_print2(const byte *code, int len);
// Helper macros to access pointer with least significant bit holding a flag