1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void try_enter(TryState *const tstate); |
7 | _Bool try_leave(const TryState *const tstate, Error *const err) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT; |
8 | void try_start(void); |
9 | _Bool try_end(Error *err); |
10 | Object dict_get_value(dict_T *dict, String key, Error *err); |
11 | Object dict_set_var(dict_T *dict, String key, Object value, _Bool del, _Bool retval, Error *err); |
12 | Object get_option_from(void *from, int type, String name, Error *err); |
13 | void set_option_to(uint64_t channel_id, void *to, int type, String name, Object value, Error *err); |
14 | Object vim_to_object(typval_T *obj); |
15 | buf_T *find_buffer_by_handle(Buffer buffer, Error *err); |
16 | win_T *find_window_by_handle(Window window, Error *err); |
17 | tabpage_T *find_tab_by_handle(Tabpage tabpage, Error *err); |
18 | String cchar_to_string(char c); |
19 | String cstr_to_string(const char *str); |
20 | String cbuf_to_string(const char *buf, size_t size) FUNC_ATTR_NONNULL_ALL; |
21 | String cstrn_to_string(const char *str, size_t maxsize) FUNC_ATTR_NONNULL_ALL; |
22 | String cstr_as_string(char *str) FUNC_ATTR_PURE; |
23 | String ga_take_string(garray_T *ga); |
24 | Array string_to_array(const String input, _Bool crlf); |
25 | void modify_keymap(Buffer buffer, _Bool is_unmap, String mode, String lhs, String rhs, Dictionary opts, Error *err); |
26 | Integer parse_keymap_opts(Dictionary opts, MapArguments *out, Error *err); |
27 | _Bool buf_collect_lines(buf_T *buf, size_t n, int64_t start, _Bool replace_nl, Array *l, Error *err); |
28 | _Bool object_to_vim(Object obj, typval_T *tv, Error *err); |
29 | void api_free_string(String value); |
30 | void api_free_object(Object value); |
31 | void api_free_array(Array value); |
32 | void api_free_dictionary(Dictionary value); |
33 | void api_clear_error(Error *value) FUNC_ATTR_NONNULL_ALL; |
34 | Dictionary api_metadata(void); |
35 | String copy_string(String str); |
36 | Array copy_array(Array array); |
37 | Dictionary copy_dictionary(Dictionary dict); |
38 | Object copy_object(Object obj); |
39 | void api_set_error(Error *err, ErrorType errType, const char *format, ...) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PRINTF(3, 4); |
40 | ArrayOf(Dictionary) keymap_array(String mode, buf_T *buf); |
41 | #include "nvim/func_attr.h" |
42 | |