diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-06-15 20:51:27 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-06-20 02:44:11 -0400 |
commit | 7a6782863059b8b2087aa5b33e7d9bccb4aa155c (patch) | |
tree | cc95add546a473ae59ec8be40037bb80e3394c3e | |
parent | 90385163d5525a312e97b345e92e1dd1fadc301c (diff) | |
download | rneovim-7a6782863059b8b2087aa5b33e7d9bccb4aa155c.tar.gz rneovim-7a6782863059b8b2087aa5b33e7d9bccb4aa155c.tar.bz2 rneovim-7a6782863059b8b2087aa5b33e7d9bccb4aa155c.zip |
Use generated declarations in cursor.h #849
-rw-r--r-- | src/nvim/cursor.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/src/nvim/cursor.h b/src/nvim/cursor.h index 62ea34ab30..09cc5a813c 100644 --- a/src/nvim/cursor.h +++ b/src/nvim/cursor.h @@ -6,24 +6,8 @@ #include "nvim/vim.h" #include "nvim/misc2.h" -int coladvance(colnr_T wcol); -int coladvance_force(colnr_T wcol); -int getvpos(pos_T *pos, colnr_T wcol); -int getviscol(void); -int getviscol2(colnr_T col, colnr_T coladd); -int inc_cursor(void); -int dec_cursor(void); -linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum); -void check_cursor_lnum(void); -void check_cursor_col(void); -void check_cursor_col_win(win_T *win); -void check_cursor(void); -void adjust_cursor_col(void); -bool leftcol_changed(void); -int gchar_cursor(void); -void pchar_cursor(char_u c); -char_u *get_cursor_line_ptr(void); -char_u *get_cursor_pos_ptr(void); +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "cursor.h.generated.h" +#endif #endif // NVIM_CURSOR_H - |