From: Lukas Krickl Date: Mon, 2 Mar 2026 14:32:57 +0000 (+0100) Subject: STYLE: Added note about module globals. X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=01ab52a70f816f711809f6eedfbabe273da1145c;p=lrts%2F.git STYLE: Added note about module globals. --- diff --git a/STYLE.md b/STYLE.md index 2b3ea26..1dbe7c8 100644 --- a/STYLE.md +++ b/STYLE.md @@ -18,6 +18,10 @@ Files and all functions therein are prefixed with one of the following: - `t_`: test case +Modules often contain global structs that they need for internal processing. +Generally the global structs should not be access from outside the module. +In some rare cases this rule can be broken. + ## Goto Goto is allowed for error handling or breaking out of nested loops.