-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace standard asserts with NWIPE_ASSERT macro using nwipe_log
- Introduce NWIPE_ASSERT macro to handle assertions with logging - Logs assertion failures using nwipe_log before aborting - Supports different log levels for flexibility - Respects NDEBUG flag to disable assertions in release builds - Replace all existing assert statements with NWIPE_ASSERT - Enhanced error reporting with detailed log messages - Improved debugging capabilities by providing context on failures - Update comments to English for consistency and broader accessibility - Ensure inclusion of nwipe_assert.h where necessary - Facilitates reusability and modularity of the custom assert mechanism
- Loading branch information
Showing
1 changed file
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters