forked from aniani/vim
patch 7.4.2058
Problem: eval.c is too big. Solution: Move user functions to userfunc.c
This commit is contained in:
25
src/vim.h
25
src/vim.h
@@ -2407,4 +2407,29 @@ int vim_main2(int argc, char **argv);
|
||||
#define COPYID_INC 2
|
||||
#define COPYID_MASK (~0x1)
|
||||
|
||||
/* Values for trans_function_name() argument: */
|
||||
#define TFN_INT 1 /* internal function name OK */
|
||||
#define TFN_QUIET 2 /* no error messages */
|
||||
#define TFN_NO_AUTOLOAD 4 /* do not use script autoloading */
|
||||
|
||||
/* Values for get_lval() flags argument: */
|
||||
#define GLV_QUIET TFN_QUIET /* no error messages */
|
||||
#define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD /* do not use script autoloading */
|
||||
|
||||
#define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not
|
||||
be freed. */
|
||||
|
||||
/* errors for when calling a function */
|
||||
#define ERROR_UNKNOWN 0
|
||||
#define ERROR_TOOMANY 1
|
||||
#define ERROR_TOOFEW 2
|
||||
#define ERROR_SCRIPT 3
|
||||
#define ERROR_DICT 4
|
||||
#define ERROR_NONE 5
|
||||
#define ERROR_OTHER 6
|
||||
|
||||
/* flags for find_name_end() */
|
||||
#define FNE_INCL_BR 1 /* include [] in name */
|
||||
#define FNE_CHECK_START 2 /* check name starts with valid character */
|
||||
|
||||
#endif /* VIM__H */
|
||||
|
Reference in New Issue
Block a user