mirror of
https://github.com/neovim/neovim.git
synced 2025-11-12 21:38:50 +00:00
refactor(build): remove INCLUDE_GENERATED_DECLARATIONS guards
These are not needed after #35129 but making uncrustify still play nice with them was a bit tricky. Unfortunately `uncrustify --update-config-with-doc` breaks strings with backslashes. This issue has been reported upstream, and in the meanwhile auto-update on every single run has been disabled.
This commit is contained in:
@@ -42,10 +42,8 @@
|
||||
|
||||
#define BUF_POS(ui) ((size_t)((ui)->packer.ptr - (ui)->packer.startptr))
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "api/ui.c.generated.h"
|
||||
# include "ui_events_remote.generated.h" // IWYU pragma: export
|
||||
#endif
|
||||
#include "api/ui.c.generated.h"
|
||||
#include "ui_events_remote.generated.h" // IWYU pragma: export
|
||||
|
||||
// TODO(bfredl): just make UI:s owned by their channels instead
|
||||
static PMap(uint64_t) connected_uis = MAP_INIT;
|
||||
|
||||
Reference in New Issue
Block a user