diff options
| author | Damien George | 2014-03-31 11:30:17 +0100 |
|---|---|---|
| committer | Damien George | 2014-03-31 11:30:17 +0100 |
| commit | 3056509e00c02e4faef44d90bf3953dcf0b0d4a0 (patch) | |
| tree | f188e15e19a8ae43d777215a3e05807b1ef2c21a /py/emit.h | |
| parent | e0f2979aed58499e791b01a77190d7f266cc88ea (diff) | |
py: Rename and reorder parameters in emit_make_function/closure.
In preparation for implementing default keyword arguments.
Diffstat (limited to 'py/emit.h')
| -rw-r--r-- | py/emit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,8 +97,8 @@ typedef struct _emit_method_table_t { void (*build_slice)(emit_t *emit, int n_args); void (*unpack_sequence)(emit_t *emit, int n_args); void (*unpack_ex)(emit_t *emit, int n_left, int n_right); - void (*make_function)(emit_t *emit, scope_t *scope, int n_dict_params, int n_default_params); - void (*make_closure)(emit_t *emit, scope_t *scope, int n_dict_params, int n_default_params); + void (*make_function)(emit_t *emit, scope_t *scope, uint n_pos_defaults, uint n_kw_defaults); + void (*make_closure)(emit_t *emit, scope_t *scope, uint n_pos_defaults, uint n_kw_defaults); void (*call_function)(emit_t *emit, int n_positional, int n_keyword, bool have_star_arg, bool have_dbl_star_arg); void (*call_method)(emit_t *emit, int n_positional, int n_keyword, bool have_star_arg, bool have_dbl_star_arg); void (*return_value)(emit_t *emit); |
