From: Kevin Day Date: Tue, 17 Jan 2023 03:57:54 +0000 (-0600) Subject: Update: Add new standard global type, "_g". X-Git-Tag: 0.6.4~96 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=28a5cec75125b8ce7e819651cef2fd987c76fbf9;p=fll Update: Add new standard global type, "_g". --- 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).