view src/proto/vim9class.pro @ 32254:1f29252237de v9.0.1458

patch 9.0.1458: buffer overflow when expanding long file name Commit: https://github.com/vim/vim/commit/a77670726e3706973adffc2b118f4576e1f58ea0 Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Sun Apr 16 20:13:12 2023 +0100 patch 9.0.1458: buffer overflow when expanding long file name Problem: Buffer overflow when expanding long file name. Solution: Use a larger buffer and avoid overflowing it. (Yee Cheng Chin, closes #12201)
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Apr 2023 21:15:03 +0200
parents ffa11e2757e7
children e4851934751a
line wrap: on
line source

/* vim9class.c */
int object_index_from_itf_index(class_T *itf, int is_method, int idx, class_T *cl);
void ex_class(exarg_T *eap);
type_T *class_member_type(class_T *cl, char_u *name, char_u *name_end, int *member_idx);
void ex_enum(exarg_T *eap);
void ex_type(exarg_T *eap);
int class_object_index(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int verbose);
ufunc_T *find_class_func(char_u **arg);
int class_member_index(char_u *name, size_t len, class_T **cl_ret, cctx_T *cctx);
int inside_class(cctx_T *cctx_arg, class_T *cl);
void copy_object(typval_T *from, typval_T *to);
void object_unref(object_T *obj);
void copy_class(typval_T *from, typval_T *to);
void class_unref(class_T *cl);
void object_created(object_T *obj);
void object_cleared(object_T *obj);
int object_free_nonref(int copyID);
/* vim: set ft=c : */