diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-09 12:45:28 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-12-09 12:49:00 +0200 |
commit | 2b00181592b23e5ca97464791c1ffa56e9495489 (patch) | |
tree | b0405994c26026d04faf1d20a70db9dd8b8231e6 /py/pystack.c | |
parent | d72370def72c74ca98c1ec4eb7b58ba0fbcc9629 (diff) |
py/objfun: Factor out macro for initializing codestate.
This is second part of fun_bc_call() vs mp_obj_fun_bc_prepare_codestate()
common code refactor. This factors out code to initialize codestate
object. After this patch, mp_obj_fun_bc_prepare_codestate() is effectively
DECODE_CODESTATE_SIZE() followed by allocation followed by
INIT_CODESTATE(), and fun_bc_call() starts with that too.
Diffstat (limited to 'py/pystack.c')
0 files changed, 0 insertions, 0 deletions