aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-14 16:33:37 +0800
committerGitHub <noreply@github.com>2023-04-14 16:33:37 +0800
commit72a327cad20fa2dbb214177cc48c533543d5b9e8 (patch)
tree5682b3c2396ccb6250e4305931e514d1102a8dfb /src/nvim/eval.h
parent37bb40701d672d5213ec1be4e21d7808aee968e7 (diff)
parent9c66b48316d85d24ee92d917765700713862aa2d (diff)
downloadrneovim-72a327cad20fa2dbb214177cc48c533543d5b9e8.tar.gz
rneovim-72a327cad20fa2dbb214177cc48c533543d5b9e8.tar.bz2
rneovim-72a327cad20fa2dbb214177cc48c533543d5b9e8.zip
Merge pull request #23081 from zeertzjq/vim-8.2.1062
vim-patch:8.2.{1062,1063,1064,1065,1068,1069,1070,1071,1073,1074,1075,1076,1079,1080,1098,1099,1100,1125,1161,1162,1163,1203,3216}
Diffstat (limited to 'src/nvim/eval.h')
-rw-r--r--src/nvim/eval.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/eval.h b/src/nvim/eval.h
index 4f517551c6..e9cdb108a8 100644
--- a/src/nvim/eval.h
+++ b/src/nvim/eval.h
@@ -272,9 +272,10 @@ typedef struct {
int eval_flags; ///< EVAL_ flag values below
/// copied from exarg_T when "getline" is "getsourceline". Can be NULL.
- void *eval_cookie; // argument for getline()
+ LineGetter eval_getline;
+ void *eval_cookie; ///< argument for eval_getline()
- /// pointer to the line obtained with getsourceline()
+ /// pointer to the last line obtained with getsourceline()
char *eval_tofree;
} evalarg_T;
@@ -284,7 +285,7 @@ enum {
};
/// Passed to an eval() function to enable evaluation.
-EXTERN evalarg_T EVALARG_EVALUATE INIT(= { EVAL_EVALUATE, NULL, NULL });
+EXTERN evalarg_T EVALARG_EVALUATE INIT(= { EVAL_EVALUATE, NULL, NULL, NULL });
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "eval.h.generated.h"