summaryrefslogtreecommitdiffstatshomepage
path: root/py/bc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-30 00:57:09 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-30 00:57:09 +0000
commit89f94b51ab4a514f6327f8ef2519fb67cbf02603 (patch)
tree1ae5b14d939ba77dc7079568fb9167aa986a4dd9 /py/bc.h
parentd7592a1c3fa69ecd1f9c654f0172d37e0aa73ba0 (diff)
downloadmicropython-89f94b51ab4a514f6327f8ef2519fb67cbf02603.tar.gz
micropython-89f94b51ab4a514f6327f8ef2519fb67cbf02603.zip
py: Rename mp_exc_stack to mp_exc_stack_t.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/bc.h b/py/bc.h
index d7e6aa70eb..62151a3d39 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -14,10 +14,10 @@ typedef struct _mp_exc_stack {
// We might only have 2 interesting cases here: SETUP_EXCEPT & SETUP_FINALLY,
// consider storing it in bit 1 of val_sp. TODO: SETUP_WITH?
byte opcode;
-} mp_exc_stack;
+} mp_exc_stack_t;
mp_vm_return_kind_t mp_execute_byte_code(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_byte_code_2(const byte *code_info, const byte **ip_in_out, mp_obj_t *fastn, mp_obj_t **sp_in_out, mp_exc_stack *exc_stack, mp_exc_stack **exc_sp_in_out, volatile mp_obj_t inject_exc);
+mp_vm_return_kind_t mp_execute_byte_code_2(const byte *code_info, const byte **ip_in_out, mp_obj_t *fastn, mp_obj_t **sp_in_out, mp_exc_stack_t *exc_stack, mp_exc_stack_t **exc_sp_in_out, volatile mp_obj_t inject_exc);
void mp_byte_code_print(const byte *code, int len);
// Helper macros to access pointer with least significant bit holding a flag