aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-04 20:06:41 +0200
committerGitHub <noreply@github.com>2021-10-04 20:06:41 +0200
commit253a012469f19f57c97190322f563001bf174ce3 (patch)
tree4974263cc1c714a5e92c2c27b3edfcb2b6c39ad7 /src/nvim/api/ui.c
parentc4d581deae9400a6489dd44ced3a4271237c9298 (diff)
parent22e4a2a286b551f3eb26a0fac0559721cd151cc8 (diff)
downloadrneovim-253a012469f19f57c97190322f563001bf174ce3.tar.gz
rneovim-253a012469f19f57c97190322f563001bf174ce3.tar.bz2
rneovim-253a012469f19f57c97190322f563001bf174ce3.zip
Merge pull request #15901 from bfredl/apiorg
refactor(api): re-organanize public and private API functions
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));