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