feat: add news ticker with sentiment analysis and error codes to dwn.h and news.h headers

- Add DwnStatus enum with six error codes (OK, ERROR, INVALID_ARG, NO_MEMORY, NOT_FOUND, DISPLAY, IO) to include/dwn.h
- Extend NewsArticle struct with NewsSentiment enum (NEUTRAL, POSITIVE, NEGATIVE) and sentiment_score float field in include/news.h
- Insert DWN_ASSERT and DWN_ASSERT_MSG contract assertion macros plus assert.h include into include/util.h
This commit is contained in:
2025-12-28 03:30:10 +00:00
parent 21e8bcc88a
commit 41fc47abac
42 changed files with 262 additions and 76 deletions
BIN
View File
Binary file not shown.