Skip to content

Conversation

@zuckschwerdt
Copy link
Collaborator

A preview for the (scripted) change from the data_make() varargs convention to the new type-safe and compact data api.

This can later be shortened from e.g.

data_t *data = NULL;
data = data_str(data, "model", ...);
data = data_int(data, "id", ...);

to

data_t *data = data_new();
data_str(data, "model", ...);
data_int(data, "id", ...);

if we use introduce a fixed header for data_t lists.

# Conflicts:
#	src/devices/flex.c
@zuckschwerdt zuckschwerdt force-pushed the master branch 2 times, most recently from 8d2ffe8 to a796732 Compare October 20, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants