diff options
author | dundargoc <gocdundar@gmail.com> | 2023-12-19 13:36:42 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-20 18:49:54 +0100 |
commit | db4b0aeb928461a058e59969e07df886cbd990c1 (patch) | |
tree | e47ee9364089a9e445f6855bf7c978840c5a1832 | |
parent | 095bd8d0f8340475319cfa13776d5ec386984859 (diff) | |
download | rneovim-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.txt | 11 |
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* |