mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
refactor/single-include
Closes #6463 refactor/single-include: file_search.h Closes #6455 refactor/single-include: hardcopy.h Closes #6457 refactor/single-include: if_cscope.h Closes #6458 refactor/single-include: mark.h Closes #6461 refactor/single-include: mbyte.h Closes #6462 refactor/single-include: memline.h Closes #6464 refactor/single-include: menu.h Closes #6468 refactor/single-include: ops.h Closes #6470
This commit is contained in:
@@ -424,19 +424,10 @@ function(get_test_target prefix sfile relative_path_var target_var)
|
|||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
set(NO_SINGLE_CHECK_HEADERS
|
set(NO_SINGLE_CHECK_HEADERS
|
||||||
file_search.h
|
|
||||||
getchar.h
|
getchar.h
|
||||||
hardcopy.h
|
|
||||||
if_cscope.h
|
|
||||||
if_cscope_defs.h
|
if_cscope_defs.h
|
||||||
mark.h
|
|
||||||
mbyte.h
|
|
||||||
memfile_defs.h
|
|
||||||
memline.h
|
|
||||||
menu.h
|
|
||||||
misc2.h
|
misc2.h
|
||||||
msgpack_rpc/server.h
|
msgpack_rpc/server.h
|
||||||
ops.h
|
|
||||||
option.h
|
option.h
|
||||||
os/shell.h
|
os/shell.h
|
||||||
os_unix.h
|
os_unix.h
|
||||||
|
@@ -1,6 +1,11 @@
|
|||||||
#ifndef NVIM_FILE_SEARCH_H
|
#ifndef NVIM_FILE_SEARCH_H
|
||||||
#define NVIM_FILE_SEARCH_H
|
#define NVIM_FILE_SEARCH_H
|
||||||
|
|
||||||
|
#include <stdlib.h> // for size_t
|
||||||
|
|
||||||
|
#include "nvim/types.h" // for char_u
|
||||||
|
#include "nvim/globals.h" // for CdScope
|
||||||
|
|
||||||
/* Flags for find_file_*() functions. */
|
/* Flags for find_file_*() functions. */
|
||||||
#define FINDFILE_FILE 0 /* only files */
|
#define FINDFILE_FILE 0 /* only files */
|
||||||
#define FINDFILE_DIR 1 /* only directories */
|
#define FINDFILE_DIR 1 /* only directories */
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
#define NVIM_HARDCOPY_H
|
#define NVIM_HARDCOPY_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h> // for size_t
|
||||||
|
|
||||||
|
#include "nvim/types.h" // for char_u
|
||||||
|
#include "nvim/ex_cmds_defs.h" // for exarg_T
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Structure to hold printing color and font attributes.
|
* Structure to hold printing color and font attributes.
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
#ifndef NVIM_IF_CSCOPE_H
|
#ifndef NVIM_IF_CSCOPE_H
|
||||||
#define NVIM_IF_CSCOPE_H
|
#define NVIM_IF_CSCOPE_H
|
||||||
|
|
||||||
|
#include "nvim/types.h" // for char_u and expand_T
|
||||||
|
#include "nvim/ex_cmds_defs.h" // for exarg_T
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "if_cscope.h.generated.h"
|
# include "if_cscope.h.generated.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
#include "nvim/memory.h"
|
#include "nvim/memory.h"
|
||||||
#include "nvim/pos.h"
|
#include "nvim/pos.h"
|
||||||
#include "nvim/os/time.h"
|
#include "nvim/os/time.h"
|
||||||
|
#include "nvim/ex_cmds_defs.h" // for exarg_T
|
||||||
|
|
||||||
/// Set fmark using given value
|
/// Set fmark using given value
|
||||||
#define SET_FMARK(fmarkp_, mark_, fnum_) \
|
#define SET_FMARK(fmarkp_, mark_, fnum_) \
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
#include "nvim/iconv.h"
|
#include "nvim/iconv.h"
|
||||||
#include "nvim/func_attr.h"
|
#include "nvim/func_attr.h"
|
||||||
#include "nvim/os/os_defs.h" // For WCHAR, indirect
|
#include "nvim/os/os_defs.h" // For WCHAR, indirect
|
||||||
|
#include "nvim/types.h" // for char_u
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return byte length of character that starts with byte "b".
|
* Return byte length of character that starts with byte "b".
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
#define NVIM_MEMLINE_H
|
#define NVIM_MEMLINE_H
|
||||||
|
|
||||||
#include "nvim/types.h"
|
#include "nvim/types.h"
|
||||||
|
#include "nvim/pos.h" // for pos_T, linenr_T, colnr_T
|
||||||
|
#include "nvim/buffer_defs.h" // for buf_T
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "memline.h.generated.h"
|
# include "memline.h.generated.h"
|
||||||
|
@@ -1,6 +1,11 @@
|
|||||||
#ifndef NVIM_MENU_H
|
#ifndef NVIM_MENU_H
|
||||||
#define NVIM_MENU_H
|
#define NVIM_MENU_H
|
||||||
|
|
||||||
|
#include <stdbool.h> // for bool
|
||||||
|
|
||||||
|
#include "nvim/types.h" // for char_u and expand_T
|
||||||
|
#include "nvim/ex_cmds_defs.h" // for exarg_T
|
||||||
|
|
||||||
/* Indices into vimmenu_T->strings[] and vimmenu_T->noremap[] for each mode */
|
/* Indices into vimmenu_T->strings[] and vimmenu_T->noremap[] for each mode */
|
||||||
#define MENU_INDEX_INVALID -1
|
#define MENU_INDEX_INVALID -1
|
||||||
#define MENU_INDEX_NORMAL 0
|
#define MENU_INDEX_NORMAL 0
|
||||||
|
@@ -8,6 +8,8 @@
|
|||||||
#include "nvim/types.h"
|
#include "nvim/types.h"
|
||||||
#include "nvim/eval/typval.h"
|
#include "nvim/eval/typval.h"
|
||||||
#include "nvim/os/time.h"
|
#include "nvim/os/time.h"
|
||||||
|
#include "nvim/normal.h" // for MotionType and oparg_T
|
||||||
|
#include "nvim/ex_cmds_defs.h" // for exarg_T
|
||||||
|
|
||||||
typedef int (*Indenter)(void);
|
typedef int (*Indenter)(void);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user