diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-06-23 09:56:35 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-11-24 11:01:37 +0100 |
commit | 01dbf0951b25d582451a8e656731dcf3d9295a71 (patch) | |
tree | 40d9b5b3fee2829baf8c3ab5fa38cf8d0629d7ce /src/nvim/memory.c | |
parent | 108566e7b6f1b331dac8e339280c230bf39c137d (diff) | |
download | rneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.tar.gz rneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.tar.bz2 rneovim-01dbf0951b25d582451a8e656731dcf3d9295a71.zip |
api: implement object namespaces
Namespaces is a lightweight concept that should be used to group
objects for purposes of bulk operations and introspection. This is
initially used for highlights and virtual text in buffers, and is
planned to also be used for extended marks. There is no plan use them
for privileges or isolation, neither to introduce nanespace-level
options.
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r-- | src/nvim/memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c index 8789075c44..6b96a3b070 100644 --- a/src/nvim/memory.c +++ b/src/nvim/memory.c @@ -16,6 +16,7 @@ #include "nvim/message.h" #include "nvim/misc1.h" #include "nvim/ui.h" +#include "nvim/api/vim.h" #ifdef HAVE_JEMALLOC // Force je_ prefix on jemalloc functions. @@ -681,6 +682,7 @@ void free_all_mem(void) break; eval_clear(); + api_vim_free_all_mem(); // Free all buffers. Reset 'autochdir' to avoid accessing things that // were freed already. |