From c880be77195c74f37415a05c11b2a1cac533c094 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 15 Oct 2022 19:40:26 +0300 Subject: [PATCH 42/42] CodingStyle: Tell about support.[ch] functions See osdn #44918 Signed-off-by: Marko Lindqvist --- doc/CodingStyle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/CodingStyle b/doc/CodingStyle index a7c9b13e96..7f01f942a0 100644 --- a/doc/CodingStyle +++ b/doc/CodingStyle @@ -522,6 +522,17 @@ modular, so there are some observations to do: } +============================================================================ + Low level functions +============================================================================ + +utility/support.[ch] module contains low level functions that should be used +instead of ones from c-library or other sources. Most of those functions +have the 'fc_' prefix in their name. They are more portable (i.e always +available with the freeciv source code) and often more secure that the +functions available natively. + + ============================================================================ Miscellaneous ============================================================================ -- 2.35.1