api: refactor remote ui to use API dispatch generation

This commit is contained in:
Björn Linse
2016-04-14 20:47:01 +02:00
parent c74ce334f2
commit dd539366fc
10 changed files with 58 additions and 70 deletions

View File

@@ -98,7 +98,7 @@ void vim_feedkeys(String keys, String mode, Boolean escape_csi)
/// @return The number of bytes actually written, which can be lower than
/// requested if the buffer becomes full.
Integer vim_input(String keys)
FUNC_ATTR_ASYNC
FUNC_API_ASYNC
{
return (Integer)input_enqueue(keys);
}
@@ -618,7 +618,7 @@ Dictionary vim_get_color_map(void)
Array vim_get_api_info(uint64_t channel_id)
FUNC_ATTR_ASYNC
FUNC_API_ASYNC
{
Array rv = ARRAY_DICT_INIT;