Mercurial > vim
comparison src/proto/vim9execute.pro @ 31416:f088f1d97eee v9.0.1041
patch 9.0.1041: cannot define a method in a class
Commit: https://github.com/vim/vim/commit/ffdaca9e6f3d39af6857ac52ced9385df203a152
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 9 21:41:48 2022 +0000
patch 9.0.1041: cannot define a method in a class
Problem: Cannot define a method in a class.
Solution: Implement defining an object method. Make calling an object
method work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Dec 2022 22:45:03 +0100 |
parents | 360f286b5869 |
children | f99f5a56ff27 |
comparison
equal
deleted
inserted
replaced
31415:4fd33db887f2 | 31416:f088f1d97eee |
---|---|
7 ectx_T *clear_current_ectx(void); | 7 ectx_T *clear_current_ectx(void); |
8 void restore_current_ectx(ectx_T *ectx); | 8 void restore_current_ectx(ectx_T *ectx); |
9 int add_defer_function(char_u *name, int argcount, typval_T *argvars); | 9 int add_defer_function(char_u *name, int argcount, typval_T *argvars); |
10 char_u *char_from_string(char_u *str, varnumber_T index); | 10 char_u *char_from_string(char_u *str, varnumber_T index); |
11 char_u *string_slice(char_u *str, varnumber_T first, varnumber_T last, int exclusive); | 11 char_u *string_slice(char_u *str, varnumber_T first, varnumber_T last, int exclusive); |
12 int fill_partial_and_closure(partial_T *pt, ufunc_T *ufunc, loopvarinfo_T *loopvarinfo, ectx_T *ectx); | 12 int fill_partial_and_closure(partial_T *pt, ufunc_T *ufunc, loopvarinfo_T *lvi, ectx_T *ectx); |
13 int may_load_script(int sid, int *loaded); | 13 int may_load_script(int sid, int *loaded); |
14 typval_T *lookup_debug_var(char_u *name); | 14 typval_T *lookup_debug_var(char_u *name); |
15 int may_break_in_function(ufunc_T *ufunc); | 15 int may_break_in_function(ufunc_T *ufunc); |
16 int loopvars_check_refcount(loopvars_T *loopvars); | 16 int loopvars_check_refcount(loopvars_T *loopvars); |
17 int set_ref_in_loopvars(int copyID); | 17 int set_ref_in_loopvars(int copyID); |
18 int exe_typval_instr(typval_T *tv, typval_T *rettv); | 18 int exe_typval_instr(typval_T *tv, typval_T *rettv); |
19 char_u *exe_substitute_instr(void); | 19 char_u *exe_substitute_instr(void); |
20 int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, int flags, partial_T *partial, funccall_T *funccal, typval_T *rettv); | 20 int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, int flags, partial_T *partial, object_T *object, funccall_T *funccal, typval_T *rettv); |
21 void unwind_def_callstack(ectx_T *ectx); | 21 void unwind_def_callstack(ectx_T *ectx); |
22 void may_invoke_defer_funcs(ectx_T *ectx); | 22 void may_invoke_defer_funcs(ectx_T *ectx); |
23 void set_context_in_disassemble_cmd(expand_T *xp, char_u *arg); | 23 void set_context_in_disassemble_cmd(expand_T *xp, char_u *arg); |
24 char_u *get_disassemble_argument(expand_T *xp, int idx); | 24 char_u *get_disassemble_argument(expand_T *xp, int idx); |
25 void ex_disassemble(exarg_T *eap); | 25 void ex_disassemble(exarg_T *eap); |