Mercurial > vim
annotate src/proto/if_lua.pro @ 15265:a7d02a56b5d5 v8.1.0641
patch 8.1.0641: no check for out-of-memory when converting regexp
commit https://github.com/vim/vim/commit/c57463c9c6ee893285f553e0ac3b2fe5935f16b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 26 22:04:41 2018 +0100
patch 8.1.0641: no check for out-of-memory when converting regexp
Problem: No check for out-of-memory when converting regexp.
Solution: Bail out when lalloc() returns NULL. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Dec 2018 22:15:05 +0100 |
parents | 1a5d34492798 |
children | 054ba681412d |
rev | line source |
---|---|
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 /* if_lua.c */ |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
2 int lua_enabled(int verbose); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
3 void lua_end(void); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
4 void ex_lua(exarg_T *eap); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
5 void ex_luado(exarg_T *eap); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
6 void ex_luafile(exarg_T *eap); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
7 void lua_buffer_free(buf_T *o); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
8 void lua_window_free(win_T *o); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
9 void do_luaeval(char_u *str, typval_T *arg, typval_T *rettv); |
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
6565
diff
changeset
|
10 int set_ref_in_lua(int copyID); |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
11 /* vim: set ft=c : */ |