From 3ee3478dd93cf70f3c0693f75fb8d1166ecc5910 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 16 Jan 2023 21:57:22 -0600 Subject: [PATCH] Update: Add new standard global type, "_g". --- documents/style_guide.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/documents/style_guide.txt b/documents/style_guide.txt index a853b12..1722675 100644 --- a/documents/style_guide.txt +++ b/documents/style_guide.txt @@ -178,12 +178,19 @@ Global String Constant Names: - code:"f_file_open_mode_truncate_s": as a variable, such as: code:"extern const f_string_t f_file_open_mode_truncate_s;". Global Character Constant Names: - The C-language specific global names are identical to the strong:"Global String Constant Names" except that they represent a single 1-byte character. + These C-language specific global names are identical to the strong:"Global String Constant Names" except that they represent a single 1-byte character. These are of the form code:"(A)_(b)_c" or code:"(a)_(b)_c". The trailing code:"_c" designates that this is a 1-byte character. +Global Data Constant Names: + These C-language specific global names are identical to the strong:"Global String Constant Names" except that they represent any other type of global data. + + These are of the form code:"(A)_(b)_g" or code:"(a)_(b)_g". + + The trailing code:"_g" designates that this is global data. + Enumeration Names: The C-language specific enumeration names follow the naming structure code:"(a)_(b)_e". The code:"(a)" represents lower-case characters used for the project level (or similar purposes). -- 1.8.3.1