From 01ab52a70f816f711809f6eedfbabe273da1145c Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Mon, 2 Mar 2026 15:32:57 +0100 Subject: [PATCH] STYLE: Added note about module globals. --- STYLE.md | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.30.2