aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-03 15:36:01 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-10-03 16:14:47 +0200
commit310d53e5d0551fbbcb510dec3f0700c0e2c4e5e0 (patch)
tree9de103c2f599fb599a159fb5ee5fadb3a8358a90 /src/nvim/api/ui.c
parent3beea1fe1bca5b0cf3f724ab0d06a01a04652297 (diff)
downloadrneovim-310d53e5d0551fbbcb510dec3f0700c0e2c4e5e0.tar.gz
rneovim-310d53e5d0551fbbcb510dec3f0700c0e2c4e5e0.tar.bz2
rneovim-310d53e5d0551fbbcb510dec3f0700c0e2c4e5e0.zip
refactor(api): make export of functions opt-in, not opt-out
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r--src/nvim/api/ui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c
index 9b200dcba2..d86aecc318 100644
--- a/src/nvim/api/ui.c
+++ b/src/nvim/api/ui.c
@@ -40,7 +40,6 @@ typedef struct {
static PMap(uint64_t) connected_uis = MAP_INIT;
void remote_ui_disconnect(uint64_t channel_id)
- FUNC_API_NOEXPORT
{
UI *ui = pmap_get(uint64_t)(&connected_uis, channel_id);
if (!ui) {
@@ -57,7 +56,6 @@ void remote_ui_disconnect(uint64_t channel_id)
/// Wait until ui has connected on stdio channel.
void remote_ui_wait_for_attach(void)
- FUNC_API_NOEXPORT
{
Channel *channel = find_channel(CHAN_STDIO);
if (!channel) {
@@ -172,6 +170,7 @@ void nvim_ui_attach(uint64_t channel_id, Integer width, Integer height, Dictiona
/// @deprecated
void ui_attach(uint64_t channel_id, Integer width, Integer height, Boolean enable_rgb, Error *err)
+ FUNC_API_DEPRECATED_SINCE(1)
{
Dictionary opts = ARRAY_DICT_INIT;
PUT(opts, "rgb", BOOLEAN_OBJ(enable_rgb));