Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ASTARTE_UTIL_DEFINE_ARRAY to also generate astarte_binary_arrays_t #54

Open
lucaato opened this issue Feb 28, 2024 · 0 comments
Open
Labels
discussion Open discussion wontfix This will not be worked on

Comments

@lucaato
Copy link
Contributor

lucaato commented Feb 28, 2024

Low-priority issue. To keep consistency in our astarte value APIs, we should refactor the way we serialize binary blob arrays to allow the user to pass in an array struct (generated using ASTARTE_UTIL_DEFINE_ARRAY(astarte_binaryblob_array_t, astarte_binaryblob_t)).
Currently, we are taking as argument an array of pointers, an array of lengths, and the length of the two arrays. It would be more consistent to use our array type again.
This issue references an inline comment.

@sorru94 sorru94 modified the milestone: v0.6 Apr 26, 2024
@sorru94 sorru94 added discussion Open discussion wontfix This will not be worked on labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Open discussion wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants