1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | int name_to_mod_mask(int c) FUNC_ATTR_CONST FUNC_ATTR_WARN_UNUSED_RESULT; |
7 | int simplify_key(const int key, int *modifiers) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL; |
8 | int handle_x_keys(const int key) FUNC_ATTR_CONST FUNC_ATTR_WARN_UNUSED_RESULT; |
9 | char_u *get_special_key_name(int c, int modifiers); |
10 | unsigned int trans_special(const char_u **srcp, const size_t src_len, char_u *const dst, const _Bool keycode, const _Bool in_string) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT; |
11 | int find_special_key(const char_u **srcp, const size_t src_len, int *const modp, const _Bool keycode, const _Bool keep_x_key, const _Bool in_string) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL; |
12 | int find_special_key_in_table(int c); |
13 | int get_special_key_code(const char_u *name) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT; |
14 | int get_mouse_button(int code, _Bool *is_click, _Bool *is_drag); |
15 | char_u *replace_termcodes(const char_u *from, const size_t from_len, char_u **bufp, const _Bool from_part, const _Bool do_lt, const _Bool special, int cpo_flags) FUNC_ATTR_NONNULL_ALL; |
16 | void log_key(int log_level, int key); |
17 | #include "nvim/func_attr.h" |
18 | |