mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
objgenerator: First iteration of refactor to use mp_setup_code_state().
This commit is contained in:
1
py/bc.h
1
py/bc.h
@@ -50,6 +50,7 @@ typedef struct _mp_code_state {
|
||||
} mp_code_state;
|
||||
|
||||
mp_vm_return_kind_t mp_execute_bytecode(mp_code_state *code_state, volatile mp_obj_t inject_exc);
|
||||
void mp_setup_code_state(mp_code_state *code_state, mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args);
|
||||
void mp_bytecode_print(const void *descr, const byte *code, int len);
|
||||
void mp_bytecode_print2(const byte *code, int len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user