mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
refactor/single-include: undo_defs.h
This commit is contained in:
@@ -542,7 +542,6 @@ set(NO_SINGLE_CHECK_HEADERS
|
|||||||
os/win_defs.h
|
os/win_defs.h
|
||||||
os/pty_process_win.h
|
os/pty_process_win.h
|
||||||
undo.h
|
undo.h
|
||||||
undo_defs.h
|
|
||||||
)
|
)
|
||||||
foreach(hfile ${NVIM_HEADERS})
|
foreach(hfile ${NVIM_HEADERS})
|
||||||
get_test_target(test-includes "${hfile}" relative_path texe)
|
get_test_target(test-includes "${hfile}" relative_path texe)
|
||||||
|
@@ -4,9 +4,10 @@
|
|||||||
#include <time.h> // for time_t
|
#include <time.h> // for time_t
|
||||||
|
|
||||||
#include "nvim/pos.h"
|
#include "nvim/pos.h"
|
||||||
#include "nvim/buffer_defs.h"
|
|
||||||
#include "nvim/mark_defs.h"
|
#include "nvim/mark_defs.h"
|
||||||
|
|
||||||
|
typedef struct u_header u_header_T;
|
||||||
|
|
||||||
/* Structure to store info about the Visual area. */
|
/* Structure to store info about the Visual area. */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
pos_T vi_start; /* start pos of last VIsual */
|
pos_T vi_start; /* start pos of last VIsual */
|
||||||
@@ -15,8 +16,9 @@ typedef struct {
|
|||||||
colnr_T vi_curswant; /* MAXCOL from w_curswant */
|
colnr_T vi_curswant; /* MAXCOL from w_curswant */
|
||||||
} visualinfo_T;
|
} visualinfo_T;
|
||||||
|
|
||||||
|
#include "nvim/buffer_defs.h"
|
||||||
|
|
||||||
typedef struct u_entry u_entry_T;
|
typedef struct u_entry u_entry_T;
|
||||||
typedef struct u_header u_header_T;
|
|
||||||
struct u_entry {
|
struct u_entry {
|
||||||
u_entry_T *ue_next; /* pointer to next entry in list */
|
u_entry_T *ue_next; /* pointer to next entry in list */
|
||||||
linenr_T ue_top; /* number of line above undo block */
|
linenr_T ue_top; /* number of line above undo block */
|
||||||
|
Reference in New Issue
Block a user