Mercurial > vim
comparison src/proto/vim9class.pro @ 33540:86dbcbb94fdb v9.0.2019
patch 9.0.2019: Vim9: no support for funcrefs
Commit: https://github.com/vim/vim/commit/29bb67f1beefc7fd393dbfd9ee77d92f1db3a3c0
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Oct 14 11:18:50 2023 +0200
patch 9.0.2019: Vim9: no support for funcrefs
Problem: Vim9: no support for funcrefs
Solution: Add support for object/class funcref members
closes: #11981 #12417 #12960 #12324 #13333
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Oct 2023 11:30:07 +0200 |
parents | c8bd88bdb630 |
children | 7d9d2404a3d4 |
comparison
equal
deleted
inserted
replaced
33539:98e6eaaf8458 | 33540:86dbcbb94fdb |
---|---|
15 ocmember_T *member_lookup(class_T *cl, vartype_T v_type, char_u *name, size_t namelen, int *idx); | 15 ocmember_T *member_lookup(class_T *cl, vartype_T v_type, char_u *name, size_t namelen, int *idx); |
16 void emsg_var_cl_define(char *msg, char_u *name, size_t len, class_T *cl); | 16 void emsg_var_cl_define(char *msg, char_u *name, size_t len, class_T *cl); |
17 ufunc_T *method_lookup(class_T *cl, vartype_T v_type, char_u *name, size_t namelen, int *idx); | 17 ufunc_T *method_lookup(class_T *cl, vartype_T v_type, char_u *name, size_t namelen, int *idx); |
18 int inside_class(cctx_T *cctx_arg, class_T *cl); | 18 int inside_class(cctx_T *cctx_arg, class_T *cl); |
19 void copy_object(typval_T *from, typval_T *to); | 19 void copy_object(typval_T *from, typval_T *to); |
20 void object_unref(object_T *obj); | |
21 void copy_class(typval_T *from, typval_T *to); | 20 void copy_class(typval_T *from, typval_T *to); |
22 void class_unref(class_T *cl); | 21 void class_unref(class_T *cl); |
23 int class_free_nonref(int copyID); | 22 int class_free_nonref(int copyID); |
24 int set_ref_in_classes(int copyID); | 23 int set_ref_in_classes(int copyID); |
25 void object_created(object_T *obj); | 24 void object_created(object_T *obj); |
25 void object_unref(object_T *obj); | |
26 int object_free_nonref(int copyID); | 26 int object_free_nonref(int copyID); |
27 void object_free_items(int copyID); | |
27 void method_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len); | 28 void method_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len); |
28 void member_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len); | 29 void member_not_found_msg(class_T *cl, vartype_T v_type, char_u *name, size_t len); |
29 void f_instanceof(typval_T *argvars, typval_T *rettv); | 30 void f_instanceof(typval_T *argvars, typval_T *rettv); |
30 int class_instance_of(class_T *cl, class_T *other_cl); | 31 int class_instance_of(class_T *cl, class_T *other_cl); |
31 /* vim: set ft=c : */ | 32 /* vim: set ft=c : */ |