]> Kevux Git Server - fll/commitdiff
Update: Add %/Q strings as a common format string structure.
authorKevin Day <thekevinday@gmail.com>
Mon, 15 Jan 2024 03:03:09 +0000 (21:03 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 15 Jan 2024 03:03:09 +0000 (21:03 -0600)
level_0/f_string/c/string/static.c
level_0/f_string/c/string/static.h

index 94bb14ca168408cbf8f7178986da8dabc011350c..b53a6b40b36050d4bb3b4f6e5c9fb7b889fb5c59 100644 (file)
@@ -148,6 +148,8 @@ extern "C" {
 
 #ifndef _di_f_string_format_s_
   const f_string_static_t f_string_format_Q_double_s           = macro_f_string_static_t_initialize_1(F_string_format_Q_double_s, 0, F_string_format_Q_double_s_length);
+  const f_string_static_t f_string_format_Q_range_double_s     = macro_f_string_static_t_initialize_1(F_string_format_Q_range_double_s, 0, F_string_format_Q_range_double_s_length);
+  const f_string_static_t f_string_format_Q_range_single_s     = macro_f_string_static_t_initialize_1(F_string_format_Q_range_single_s, 0, F_string_format_Q_range_single_s_length);
   const f_string_static_t f_string_format_Q_single_s           = macro_f_string_static_t_initialize_1(F_string_format_Q_single_s, 0, F_string_format_Q_single_s_length);
   const f_string_static_t f_string_format_QQ_double_s          = macro_f_string_static_t_initialize_1(F_string_format_QQ_double_s, 0, F_string_format_QQ_double_s_length);
   const f_string_static_t f_string_format_QQ_single_s          = macro_f_string_static_t_initialize_1(F_string_format_QQ_single_s, 0, F_string_format_QQ_single_s_length);
index 22d7f36906e5240c7a72eec2b96663799e0ef5f5..adf8c283905acebc5fa5446c7a5303942bc3a8c5 100644 (file)
@@ -500,6 +500,8 @@ extern "C" {
  */
 #ifndef _di_f_string_format_s_
   #define F_string_format_Q_double_s           "%[%[%Q%]%]"
+  #define F_string_format_Q_range_double_s     "%[%[%/Q%]%]"
+  #define F_string_format_Q_range_single_s     "%[%/Q%]"
   #define F_string_format_Q_single_s           "%[%Q%]"
   #define F_string_format_QQ_double_s          "%[%[%Q%Q%]%]"
   #define F_string_format_QQ_single_s          "%[%Q%Q%]"
@@ -513,6 +515,8 @@ extern "C" {
   #define F_string_format_ul_single_s          "%[%ul%]"
 
   #define F_string_format_Q_double_s_length           10
+  #define F_string_format_Q_range_double_s_length     11
+  #define F_string_format_Q_range_single_s_length     7
   #define F_string_format_Q_single_s_length           6
   #define F_string_format_QQ_double_s_length          12
   #define F_string_format_QQ_single_s_length          8
@@ -526,6 +530,8 @@ extern "C" {
   #define F_string_format_ul_double_s_length          7
 
   extern const f_string_static_t f_string_format_Q_double_s;
+  extern const f_string_static_t f_string_format_Q_range_double_s;
+  extern const f_string_static_t f_string_format_Q_range_single_s;
   extern const f_string_static_t f_string_format_Q_single_s;
   extern const f_string_static_t f_string_format_QQ_double_s;
   extern const f_string_static_t f_string_format_QQ_single_s;