diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-27 12:41:25 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-29 14:25:04 +0000 |
commit | 5d66b427e22b6db5c73b74a6e9ba057ac5a38893 (patch) | |
tree | e66a396766810611a95923698a9e6e6e1eef57ab /py/emitbc.c | |
parent | c3f64d9799cdf8af88087eebe6628e83d658405c (diff) |
py/emit: Change type of arg of load_const_obj from void* to mp_obj_t.
Diffstat (limited to 'py/emitbc.c')
-rw-r--r-- | py/emitbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitbc.c b/py/emitbc.c index 062a7ea23..580ff165c 100644 --- a/py/emitbc.c +++ b/py/emitbc.c @@ -542,7 +542,7 @@ void mp_emit_bc_load_const_str(emit_t *emit, qstr qst) { emit_write_bytecode_byte_qstr(emit, MP_BC_LOAD_CONST_STRING, qst); } -void mp_emit_bc_load_const_obj(emit_t *emit, void *obj) { +void mp_emit_bc_load_const_obj(emit_t *emit, mp_obj_t obj) { emit_bc_pre(emit, 1); emit_write_bytecode_byte_obj(emit, MP_BC_LOAD_CONST_OBJ, obj); } |