forked from aniani/vim
patch 8.2.1492: build failures
Problem: Build failures. Solution: Move typedef out of #ifdef. Adjust argument types. Discover America.
This commit is contained in:
@@ -1533,6 +1533,13 @@ struct blobvar_S
|
||||
typedef int (*cfunc_T)(int argcount, typval_T *argvars, typval_T *rettv, void *state);
|
||||
typedef void (*cfunc_free_T)(void *state);
|
||||
|
||||
// type of getline() last argument
|
||||
typedef enum {
|
||||
GETLINE_NONE, // do not concatenate any lines
|
||||
GETLINE_CONCAT_CONT, // concatenate continuation lines
|
||||
GETLINE_CONCAT_ALL // concatenate continuation and Vim9 # comment lines
|
||||
} getline_opt_T;
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
typedef struct funccall_S funccall_T;
|
||||
|
||||
@@ -1761,13 +1768,6 @@ typedef struct
|
||||
# endif
|
||||
} scriptitem_T;
|
||||
|
||||
// type of getline() last argument
|
||||
typedef enum {
|
||||
GETLINE_NONE, // do not concatenate any lines
|
||||
GETLINE_CONCAT_CONT, // concatenate continuation lines
|
||||
GETLINE_CONCAT_ALL // concatenate continuation and Vim9 # comment lines
|
||||
} getline_opt_T;
|
||||
|
||||
// Struct passed through eval() functions.
|
||||
// See EVALARG_EVALUATE for a fixed value with eval_flags set to EVAL_EVALUATE.
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user