*
* status: the status to return.
* structures: the structures to operate on.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
* new_length: the new size of the array.
*/
#ifndef _di_f_macro_memory_structures_new_
* status: the status to return.
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
*/
#ifndef _di_f_macro_memory_structures_delete_
#define f_macro_memory_structures_t_delete(status, structures, type_structure, type_structures) \
* status: the status to return.
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
*/
#ifndef _di_f_macro_memory_structures_destroy_
#define f_macro_memory_structures_t_destroy(status, structures, type_structure, type_structures) \
*
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
*/
#ifndef _di_f_macro_memory_structures_delete_simple_
#define f_macro_memory_structures_t_delete_simple(structures, type_structure, type_structures) \
*
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
*/
#ifndef _di_f_macro_memory_structures_destroy_simple_
#define f_macro_memory_structures_t_destroy_simple(structures, type_structure, type_structures) \
* status: the status to return.
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
* new_length: the new size of the array.
* length_variable: the data type of the length variable.
*/
* status: the status to return.
* structures: the structures to operate on.
* type_stucture: the structure type.
- * type_stuctures: the structure type.
+ * type_stuctures: the structures type.
* new_length: the new size of the array.
* length_variable: the data type of the length variable.
*/
#define f_macro_string_lengths_t_adjust(status, lengths, new_length) f_macro_memory_structure_t_adjust(status, lengths, f_string_length_t, new_length)
#endif // _di_f_string_lengths_t_
+/**
+ * This holds an array of f_string_lengths_t.
+ *
+ * array: the array of string lenths arrays.
+ * size: total amount of allocated space.
+ * used: total number of allocated spaces used.
+ */
+#ifndef _di_f_string_lengthss_t_
+ typedef struct {
+ f_string_lengths_t *array;
+
+ f_array_length_t size;
+ f_array_length_t used;
+ } f_string_lengthss_t;
+
+ #define f_string_lengthss_t_initialize { 0, 0, 0 }
+
+ #define f_macro_string_lengthss_t_clear(lengthss) f_macro_memory_structures_t_clear(lengthss)
+
+ #define f_macro_string_lengthss_t_new(status, lengthss, length) f_macro_memory_structures_t_new(status, lengthss, f_string_length_t, length)
+
+ #define f_macro_string_lengthss_t_delete(status, lengthss) f_macro_memory_structures_t_delete(status, lengthss, f_string_length_t, f_string_lengths_t)
+ #define f_macro_string_lengthss_t_destroy(status, lengthss) f_macro_memory_structures_t_destroy(status, lengthss, f_string_length_t, f_string_lengths_t)
+
+ #define f_macro_string_lengthss_t_delete_simple(lengthss) f_macro_memory_structures_t_delete_simple(lengthss, f_string_length_t, f_string_lengths_t)
+ #define f_macro_string_lengthss_t_destroy_simple(lengthss) f_macro_memory_structures_t_destroy_simple(lengthss, f_string_length_t, f_string_lengths_t)
+
+ #define f_macro_string_lengthss_t_resize(status, lengthss, new_length) f_macro_memory_structures_t_resize(status, lengthss, f_string_length_t, f_string_lengths_t, new_length, f_array_length_t)
+ #define f_macro_string_lengthss_t_adjust(status, lengthss, new_length) f_macro_memory_structures_t_adjust(status, lengthss, f_string_length_t, f_string_lengths_t, new_length, f_array_length_t)
+#endif // _di_f_string_lengthss_t_
+
#ifdef __cplusplus
} // extern "C"
#endif
#define f_macro_string_quantitys_t_adjust(status, quantitys, new_length) f_macro_memory_structure_t_adjust(status, quantitys, f_string_quantity_t, new_length)
#endif // _di_f_string_quantitys_t_
+/**
+ * This holds an array of f_string_quantity_t.
+ *
+ * array: the array of quantitys arrays.
+ * size: total amount of allocated space.
+ * used: total number of allocated spaces used.
+ */
+#ifndef _di_f_string_quantityss_t_
+ typedef struct {
+ f_string_quantity_t *array;
+
+ f_array_length_t size;
+ f_array_length_t used;
+ } f_string_quantityss_t;
+
+ #define f_string_quantityss_t_initialize {0, 0, 0}
+
+ #define f_macro_string_quantityss_t_clear(quantityss) f_macro_memory_structures_t_clear(quantityss)
+
+ #define f_macro_string_quantityss_t_new(status, quantityss, length) f_macro_memory_structures_t_new(status, quantityss, f_string_quantity_t, length)
+
+ #define f_macro_string_quantityss_t_delete(status, quantityss) f_macro_memory_structures_t_delete(status, quantityss, f_string_quantity_t, f_string_quantitys_t)
+ #define f_macro_string_quantityss_t_destroy(status, quantityss) f_macro_memory_structures_t_destroy(status, quantityss, f_string_quantity_t, f_string_quantitys_t)
+
+ #define f_macro_string_quantityss_t_delete_simple(quantityss) f_macro_memory_structures_t_delete_simple(quantityss, f_string_quantity_t, f_string_quantitys_t)
+ #define f_macro_string_quantityss_t_destroy_simple(quantityss) f_macro_memory_structures_t_destroy_simple(quantityss, f_string_quantity_t, f_string_quantitys_t)
+
+ #define f_macro_string_quantityss_t_resize(status, quantityss, new_length) f_macro_memory_structures_t_resize(status, quantityss, f_string_quantity_t, f_string_quantitys_t, new_length, f_array_length_t)
+ #define f_macro_string_quantityss_t_adjust(status, quantityss, new_length) f_macro_memory_structures_t_adjust(status, quantityss, f_string_quantity_t, f_string_quantitys_t, new_length, f_array_length_t)
+#endif // _di_f_string_quantityss_t_
+
#ifdef __cplusplus
} // extern "C"
#endif