mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00

Allow Include What You Use to remove unnecessary includes and only include what is necessary. This helps with reducing compilation times and makes it easier to visualise which dependencies are actually required. Work on https://github.com/neovim/neovim/issues/549, but doesn't close it since this only works fully for .c files and not headers.
14 lines
279 B
C
14 lines
279 B
C
#ifndef NVIM_EVAL_GC_H
|
|
#define NVIM_EVAL_GC_H
|
|
|
|
#include "nvim/eval/typval.h"
|
|
#include "nvim/eval/typval_defs.h"
|
|
|
|
extern dict_T *gc_first_dict;
|
|
extern list_T *gc_first_list;
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "eval/gc.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_EVAL_GC_H
|