]> Kevux Git Server - fll/commitdiff
Bugfix: Incorrect and missing initializer macros in f_fss.
authorKevin Day <thekevinday@gmail.com>
Sat, 14 May 2022 21:34:48 +0000 (16:34 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 14 May 2022 21:36:11 +0000 (16:36 -0500)
level_0/f_fss/c/fss/common.h
level_0/f_fss/c/fss/named.h
level_0/f_fss/c/fss/quote.h
level_0/f_fss/c/fss/set.h

index 5f8d9e948c2760733a8609540fba2ccf2bf93eb9..9a8cb120a9cf4a54a2abbb04e8ff4340ad5e7fd1 100644 (file)
@@ -356,7 +356,7 @@ enum {
   #define macro_f_fss_contents_t_delete_simple(contents)  macro_f_string_rangess_t_delete_simple(contents)
   #define macro_f_fss_contents_t_destroy_simple(contents) macro_f_string_rangess_t_destroy_simple(contents)
 
-  #define macro_f_fss_contents_t_increase(status, step, contents)            macro_f_string_rangess_t_increase(status, step, contents)
+  #define macro_f_fss_contents_t_increase(status, step, contents)      macro_f_string_rangess_t_increase(status, step, contents)
   #define macro_f_fss_contents_t_increase_by(status, contents, amount) macro_f_string_rangess_t_increase_by(status, contents, amount)
   #define macro_f_fss_contents_t_decrease_by(status, contents, amount) macro_f_string_rangess_t_decrease_by(status, contents, amount)
   #define macro_f_fss_contents_t_decimate_by(status, contents, amount) macro_f_string_rangess_t_decimate_by(status, contents, amount)
index b07ccd4805cc54668358fc6d138eae14be85c076..f7110dc8ef965b13acf1c66fa825063aa39f144e 100644 (file)
@@ -52,7 +52,7 @@ extern "C" {
   #define macro_f_fss_named_t_delete_simple(named)  f_fss_named_resize(0, &named);
   #define macro_f_fss_named_t_destroy_simple(named) f_fss_named_adjust(0, &named);
 
-  #define macro_f_fss_named_t_increase(status, step, named)            status = f_fss_named_increase(step, &named);
+  #define macro_f_fss_named_t_increase(status, step, named)      status = f_fss_named_increase(step, &named);
   #define macro_f_fss_named_t_increase_by(status, named, amount) status = f_fss_named_increase_by(amount, &named);
   #define macro_f_fss_named_t_decrease_by(status, named, amount) status = f_fss_named_decrease_by(amount, &named);
   #define macro_f_fss_named_t_decimate_by(status, named, amount) status = f_fss_named_decimate_by(amount, &named);
@@ -75,8 +75,8 @@ extern "C" {
 
   #define f_fss_nameds_t_initialize { 0, 0, 0 }
 
-  #define macro_f_fss_nameds_t_initialize(array, size, used) macro_f_fss_nameds_t_initialize(array, size, used)
-  #define macro_f_fss_nameds_t_initialize2(array, length)    macro_f_fss_nameds_t_initialize2(array, length)
+  #define macro_f_fss_nameds_t_initialize(array, size, used) { array, size, used }
+  #define macro_f_fss_nameds_t_initialize2(array, length) { array, length, length }
 
   #define macro_f_fss_nameds_t_clear(nameds) macro_f_memory_structure_clear(nameds);
 
index 0d2b3ab23351b4d2d588a966fe71b9e47eca0273..1741b0a44ba31565f1527c4e85ce57f7a2931636 100644 (file)
@@ -51,8 +51,8 @@ extern "C" {
 
   #define f_fss_quotes_t_initialize f_uint8s_t_initialize
 
-  #define macro_f_fss_quotes_t_initialize(array, size, used) macro_f_uint8s_t_initialize(array, size, used)
-  #define macro_f_fss_quotes_t_initialize2(array, length)    macro_f_uint8s_t_initialize2(array, length)
+  #define macro_f_fss_quotes_t_initialize(array, size, used) { array, size, used }
+  #define macro_f_fss_quotes_t_initialize2(array, length) { array, length, length }
 
   #define macro_f_fss_quotes_t_clear(quotes) macro_f_uint8s_t_clear(quotes)
 
@@ -80,8 +80,8 @@ extern "C" {
 
   #define f_fss_quotess_t_initialize f_uint8ss_t_initialize
 
-  #define macro_f_fss_quotess_t_initialize(array, size, used) macro_f_uint8ss_t_initialize(array, size, used)
-  #define macro_f_fss_quotess_t_initialize2(array, length)    macro_f_uint8ss_t_initialize2(array, length)
+  #define macro_f_fss_quotess_t_initialize(array, size, used) { array, size, used }
+  #define macro_f_fss_quotess_t_initialize2(array, length) { array, length, length }
 
   #define macro_f_fss_quotess_t_clear(quotess) macro_f_uint8ss_t_clear(quotess)
 
index 060b355a1afb6e37f5dc9585a9601bc74d364887..8fc48c67af19adcf19ea77858c92346a86e968d0 100644 (file)
@@ -68,6 +68,9 @@ extern "C" {
 
   #define f_fss_sets_t_initialize { 0, 0, 0 }
 
+  #define macro_f_fss_sets_t_initialize(array, size, used) { array, size, used }
+  #define macro_f_fss_sets_t_initialize2(array, length) { array, length, length }
+
   #define macro_f_fss_sets_t_clear(sets) macro_f_memory_structure_t_clear(set.objects)
 
   #define macro_f_fss_sets_t_resize(status, sets, length) status = f_fss_sets_resize(length, &sets);