From 1f07b7e3c31b730853ec98a12dd2c7f9c70347c3 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 31 May 2014 03:36:37 +0300 Subject: [PATCH] py: Reformat few long functions argument lists for clarity. --- py/objgenerator.c | 3 ++- py/vm.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/py/objgenerator.c b/py/objgenerator.c index 8180185b94..d9825f814f 100644 --- a/py/objgenerator.c +++ b/py/objgenerator.c @@ -252,7 +252,8 @@ const mp_obj_type_t mp_type_gen_instance = { .locals_dict = (mp_obj_t)&gen_instance_locals_dict, }; -mp_obj_t mp_obj_new_gen_instance(mp_obj_dict_t *globals, const byte *bytecode, uint n_args, const mp_obj_t *args, +mp_obj_t mp_obj_new_gen_instance(mp_obj_dict_t *globals, const byte *bytecode, + uint n_args, const mp_obj_t *args, uint n_args2, const mp_obj_t *args2) { const byte *code_info = bytecode; // get code info size, and skip the line number table diff --git a/py/vm.c b/py/vm.c index 74f821e9ec..c04eb89547 100644 --- a/py/vm.c +++ b/py/vm.c @@ -103,7 +103,8 @@ typedef enum { currently_in_except_block = MP_TAGPTR_TAG(exc_sp->val_sp); /* restore previous state */ \ exc_sp--; /* pop back to previous exception handler */ -mp_vm_return_kind_t mp_execute_bytecode(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_bytecode(const byte *code, const mp_obj_t *args, uint n_args, + const mp_obj_t *args2, uint n_args2, mp_obj_t *ret) { const byte *ip = code; // get code info size, and skip line number table