comparison 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
comparison
equal deleted inserted replaced
26533:88b2affbddd9 26534:28745eec1dda
1990 // invoked function uses them. It is called like this: 1990 // invoked function uses them. It is called like this:
1991 // new_argcount = argv_func(current_argcount, argv, partial_argcount, 1991 // new_argcount = argv_func(current_argcount, argv, partial_argcount,
1992 // called_func_argcount) 1992 // called_func_argcount)
1993 // 1993 //
1994 typedef struct { 1994 typedef struct {
1995 int (* argv_func)(int, typval_T *, int, int); 1995 int (* fe_argv_func)(int, typval_T *, int, int);
1996 linenr_T firstline; // first line of range 1996 linenr_T fe_firstline; // first line of range
1997 linenr_T lastline; // last line of range 1997 linenr_T fe_lastline; // last line of range
1998 int *doesrange; // if not NULL: return: function handled range 1998 int *fe_doesrange; // if not NULL: return: function handled range
1999 int evaluate; // actually evaluate expressions 1999 int fe_evaluate; // actually evaluate expressions
2000 partial_T *partial; // for extra arguments 2000 partial_T *fe_partial; // for extra arguments
2001 dict_T *selfdict; // Dictionary for "self" 2001 dict_T *fe_selfdict; // Dictionary for "self"
2002 typval_T *basetv; // base for base->method() 2002 typval_T *fe_basetv; // base for base->method()
2003 type_T *check_type; // type from funcref or NULL 2003 type_T *fe_check_type; // type from funcref or NULL
2004 int fe_found_var; // if the function is not found then give an 2004 int fe_found_var; // if the function is not found then give an
2005 // error that a variable is not callable. 2005 // error that a variable is not callable.
2006 } funcexe_T; 2006 } funcexe_T;
2007 2007
2008 /* 2008 /*