diff options
| author | bfredl <bjorn.linse@gmail.com> | 2025-08-01 12:26:52 +0200 |
|---|---|---|
| committer | bfredl <bjorn.linse@gmail.com> | 2025-08-06 15:10:25 +0200 |
| commit | 79c8159f4179d47f4292da656b443ebcacd2d8bd (patch) | |
| tree | a3a3512d67ca46c0890b383c6c604f6334afda46 /src/nvim/lua/stdlib.h | |
| parent | b4c092a0927cff3e57374cd6953e31675b83a0d1 (diff) | |
| download | rneovim-79c8159f4179d47f4292da656b443ebcacd2d8bd.tar.gz rneovim-79c8159f4179d47f4292da656b443ebcacd2d8bd.tar.bz2 rneovim-79c8159f4179d47f4292da656b443ebcacd2d8bd.zip | |
refactor(build): don't use the preprocessor when generating headers
Using the preprocessor before generating prototypes provides some
"niceties" but the places that rely on these are pretty few.
Vastly simplifying the BUILD SYSTEM is a better trade-off.
Unbalancing { } blocks due to the preprocessor is cringe anyway (think
of the tree-sitter trees!), write these in a different way.
Add some workarounds for plattform specific features.
INCLUDE_GENERATED_DECLARATIONS flag is now technically redundant,
but will be cleaned up in a follow-up PR as it is a big mess.
Diffstat (limited to 'src/nvim/lua/stdlib.h')
| -rw-r--r-- | src/nvim/lua/stdlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/lua/stdlib.h b/src/nvim/lua/stdlib.h index 26e96055ae..20cea44a04 100644 --- a/src/nvim/lua/stdlib.h +++ b/src/nvim/lua/stdlib.h @@ -1,6 +1,7 @@ #pragma once #include <lua.h> // IWYU pragma: keep +#include <stdbool.h> #ifdef INCLUDE_GENERATED_DECLARATIONS # include "lua/stdlib.h.generated.h" |