Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wio: Turn w_print() and w_printerr() into inlines
Make w_print() and w_printerr() be "static inline" functions, instead of variadic macros, for better type safety and compiler error reporting. W_FUNCTION_ATTR_WARN_UNUSED_RESULT is not used with those functions, as it is quite common to ignore I/O errors when printing messages to stdout/stderr anyway.
- Loading branch information
Showing
3 changed files
with
30 additions
and
8 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
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
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