api: always use prefix FUNC_API, also change NOEVAL to REMOTE_ONLY

This commit is contained in:
Björn Linse
2017-05-10 10:29:43 +02:00
parent 3adcc0c50b
commit 2d5920ae1a
7 changed files with 23 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ void set_scroll_region(Integer top, Integer bot, Integer left, Integer right)
void scroll(Integer count)
FUNC_API_SINCE(3);
void highlight_set(HlAttrs attrs)
FUNC_API_SINCE(3) REMOTE_IMPL BRIDGE_IMPL;
FUNC_API_SINCE(3) FUNC_API_REMOTE_IMPL FUNC_API_BRIDGE_IMPL;
void put(String str)
FUNC_API_SINCE(3);
void bell(void)
@@ -45,7 +45,7 @@ void bell(void)
void visual_bell(void)
FUNC_API_SINCE(3);
void flush(void)
FUNC_API_SINCE(3) REMOTE_IMPL;
FUNC_API_SINCE(3) FUNC_API_REMOTE_IMPL;
void update_fg(Integer fg)
FUNC_API_SINCE(3);
void update_bg(Integer bg)
@@ -53,19 +53,19 @@ void update_bg(Integer bg)
void update_sp(Integer sp)
FUNC_API_SINCE(3);
void suspend(void)
FUNC_API_SINCE(3) BRIDGE_IMPL;
FUNC_API_SINCE(3) FUNC_API_BRIDGE_IMPL;
void set_title(String title)
FUNC_API_SINCE(3);
void set_icon(String icon)
FUNC_API_SINCE(3);
void popupmenu_show(Array items, Integer selected, Integer row, Integer col)
FUNC_API_SINCE(3) REMOTE_ONLY;
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void popupmenu_hide(void)
FUNC_API_SINCE(3) REMOTE_ONLY;
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void popupmenu_select(Integer selected)
FUNC_API_SINCE(3) REMOTE_ONLY;
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void tabline_update(Tabpage current, Array tabs)
FUNC_API_SINCE(3) REMOTE_ONLY;
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
#endif // NVIM_API_UI_EVENTS_IN_H