diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2022-08-21 23:26:49 -0600 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2022-08-21 23:26:49 -0600 |
commit | 73ede4a508517f8e55c75d710f13851eb8079875 (patch) | |
tree | b4cccc61b70c28b1474d74d2ff4bff856929cdca /src/nvim/lua/executor.h | |
parent | 8436383af96dc7afa3596fc22c012d68e76f47f8 (diff) | |
parent | 72b03792b6428ca96ca779b53061c6c98f6f930f (diff) | |
download | rneovim-73ede4a508517f8e55c75d710f13851eb8079875.tar.gz rneovim-73ede4a508517f8e55c75d710f13851eb8079875.tar.bz2 rneovim-73ede4a508517f8e55c75d710f13851eb8079875.zip |
Merge remote-tracking branch 'upstream/master' into usermarks
Diffstat (limited to 'src/nvim/lua/executor.h')
-rw-r--r-- | src/nvim/lua/executor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.h b/src/nvim/lua/executor.h index 2afbbebfe7..78346fd81f 100644 --- a/src/nvim/lua/executor.h +++ b/src/nvim/lua/executor.h @@ -24,6 +24,8 @@ typedef struct { #endif } nlua_ref_state_t; +#define NLUA_EXEC_STATIC(cstr, arg, err) nlua_exec(STATIC_CSTR_AS_STRING(cstr), arg, err) + #define NLUA_CLEAR_REF(x) \ do { \ /* Take the address to avoid double evaluation. #1375 */ \ |