refactor: move FunPtr to types.h (#19466)

This type itself is not eval-specific. Moving it to types.h can avoid
including eval/funcs.h in many headers, and types.h is already included
by many headers.
This commit is contained in:
zeertzjq
2022-07-22 22:05:02 +08:00
committed by GitHub
parent ac690f457e
commit a7b9920930
18 changed files with 8 additions and 12 deletions

View File

@@ -3,7 +3,6 @@
#include "nvim/buffer_defs.h"
#include "nvim/channel.h"
#include "nvim/eval/funcs.h" // For FunPtr
#include "nvim/event/time.h" // For TimeWatcher
#include "nvim/ex_cmds_defs.h" // For exarg_T
#include "nvim/os/fileio.h" // For FileDescriptor