Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-06 | media: use table instead of linked list for media | Berthold Stoeger | |
For consistency with equipment, use our table macros for pictures. Generally tables (arrays) are preferred over linked lists, because they allow random access. This is mostly copy & paste of the equipment code. Sadly, our table macros are quite messy and need some revamping. Therefore, the resulting code is likewise somewhat messy. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | |||
2019-06-19 | Cleanup: fix comment to STRUCTURED_LIST_FREE | Berthold Stoeger | |
The comment said "Clear everything but the first element" but actually the macro freed the whole list including the first element. For dive computers it was explicitly called on the second element. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | |||
2019-06-19 | Cleanup: move tag functions into own translation unit | Berthold Stoeger | |
Make dive.h a bit slimmer. It's only a drop in the bucket - but at least when modifying tag functions not the *whole* application is rebuilt anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |