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

@@ -1,7 +1,6 @@
#ifndef NVIM_TESTING_H
#define NVIM_TESTING_H
#include "nvim/eval/funcs.h"
#include "nvim/eval/typval.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS