Mercurial > vim
diff src/structs.h @ 26534:28745eec1dda v8.2.3796
patch 8.2.3796: the funcexe_T struct members are not named consistently
Commit: https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 14:26:44 2021 +0000
patch 8.2.3796: the funcexe_T struct members are not named consistently
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 15:30:03 +0100 |
parents | 255bc9a08e58 |
children | 454a1c9ef797 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1992,15 +1992,15 @@ typedef struct // called_func_argcount) // typedef struct { - int (* argv_func)(int, typval_T *, int, int); - linenr_T firstline; // first line of range - linenr_T lastline; // last line of range - int *doesrange; // if not NULL: return: function handled range - int evaluate; // actually evaluate expressions - partial_T *partial; // for extra arguments - dict_T *selfdict; // Dictionary for "self" - typval_T *basetv; // base for base->method() - type_T *check_type; // type from funcref or NULL + int (* fe_argv_func)(int, typval_T *, int, int); + linenr_T fe_firstline; // first line of range + linenr_T fe_lastline; // last line of range + int *fe_doesrange; // if not NULL: return: function handled range + int fe_evaluate; // actually evaluate expressions + partial_T *fe_partial; // for extra arguments + dict_T *fe_selfdict; // Dictionary for "self" + typval_T *fe_basetv; // base for base->method() + type_T *fe_check_type; // type from funcref or NULL int fe_found_var; // if the function is not found then give an // error that a variable is not callable. } funcexe_T;