aboutsummaryrefslogtreecommitdiff
path: root/py/bc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-27 23:21:00 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-27 23:21:00 +1000
commit581a59a456654e881a228a99f135777e0335f1e1 (patch)
tree11f6fe4c03f7c41a1af74b20176496f4dd645b3f /py/bc.c
parent531217a06b54d612ac49c341a358b3fca1d59985 (diff)
py: Rename struct mp_code_state to mp_code_state_t.
Also at _t to mp_exc_stack pre-declaration in struct typedef.
Diffstat (limited to 'py/bc.c')
-rw-r--r--py/bc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/bc.c b/py/bc.c
index 5cdaa4770..0d0a0b12f 100644
--- a/py/bc.c
+++ b/py/bc.c
@@ -89,7 +89,7 @@ STATIC void dump_args(const mp_obj_t *a, size_t sz) {
// - code_state->ip should contain the offset in bytes from the start of
// the bytecode chunk to just after n_state and n_exc_stack
// - code_state->n_state should be set to the state size (locals plus stack)
-void mp_setup_code_state(mp_code_state *code_state, mp_obj_fun_bc_t *self, size_t n_args, size_t n_kw, const mp_obj_t *args) {
+void mp_setup_code_state(mp_code_state_t *code_state, mp_obj_fun_bc_t *self, size_t n_args, size_t n_kw, const mp_obj_t *args) {
// This function is pretty complicated. It's main aim is to be efficient in speed and RAM
// usage for the common case of positional only args.
size_t n_state = code_state->n_state;