Mercurial > vim
view src/proto/vim9class.pro @ 31622:1102f4777518 v9.0.1143
patch 9.0.1143: invalid memory access with bad 'statusline' value
Commit: https://github.com/vim/vim/commit/7b17eb4b063a234376c1ec909ee293e42cff290c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 4 14:31:49 2023 +0000
patch 9.0.1143: invalid memory access with bad 'statusline' value
Problem: Invalid memory access with bad 'statusline' value.
Solution: Avoid going over the NUL at the end.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Jan 2023 15:45:05 +0100 |
parents | aee868b9229a |
children | 5c1b7a87466e |
line wrap: on
line source
/* vim9class.c */ 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_interface(exarg_T *eap); 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); 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 : */