minor: Change data_t to align optimal

This commit is contained in:
Christian W. Zuckschwerdt 2023-03-19 16:27:05 +01:00
parent cd3c34e9a6
commit 354ffde7dc

View file

@ -67,13 +67,13 @@ typedef union data_value {
} data_value_t;
typedef struct data {
struct data *next; /**< chaining to the next element in the linked list; NULL indicates end-of-list */
char *key;
char *pretty_key; /**< the name used for displaying data to user in with a nicer name */
data_type_t type;
char *format; /**< if not null, contains special formatting string */
data_value_t value;
data_type_t type;
unsigned retain; /**< incremented on data_retain, data_free only frees if this is zero */
struct data *next; /**< chaining to the next element in the linked list; NULL indicates end-of-list */
} data_t;
/** Constructs a structured data object.