aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-19 13:36:42 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-20 18:49:54 +0100
commitdb4b0aeb928461a058e59969e07df886cbd990c1 (patch)
treee47ee9364089a9e445f6855bf7c978840c5a1832
parent095bd8d0f8340475319cfa13776d5ec386984859 (diff)
downloadrneovim-db4b0aeb928461a058e59969e07df886cbd990c1.tar.gz
rneovim-db4b0aeb928461a058e59969e07df886cbd990c1.tar.bz2
rneovim-db4b0aeb928461a058e59969e07df886cbd990c1.zip
docs: remove section on constants in style guide
It is needlessly restrictive and specific without good reason.
-rw-r--r--runtime/doc/dev_style.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/runtime/doc/dev_style.txt b/runtime/doc/dev_style.txt
index 05dc727130..9e00210f8c 100644
--- a/runtime/doc/dev_style.txt
+++ b/runtime/doc/dev_style.txt
@@ -79,17 +79,6 @@ Non-symbols:
- EXCEPTION: if the macro calls a function, then it must be moved to a normal
header.
-Constants ~
-
-Do not use macros to define constants in headers.
-
-Macro constants in header files cannot be used by unit tests.
-
-However, you are allowed to define a macro that holds the same value as a
-non-enum constant (defined in the same header) if the value of the constant
-represents the size of an array.
-
-
==============================================================================
Scoping *dev-style-scope*