diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:45:06 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-08 16:46:44 -0500 |
commit | 0cc598f1628167599131756e909630dc36d33610 (patch) | |
tree | 5dd168cc9ba7c34592fa6b020f58ee59a96eabb2 /src/diag.h | |
parent | ededa3ed1cf0d02fcdb9a42d44d46a84fec1c58e (diff) | |
download | bfs-0cc598f1628167599131756e909630dc36d33610.tar.xz |
Add BFS_FORMATTER() to vprintf()-type functions too
Diffstat (limited to 'src/diag.h')
-rw-r--r-- | src/diag.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,16 +58,19 @@ bool bfs_debug(const struct bfs_ctx *ctx, enum debug_flags flag, const char *for /** * bfs_error() variant that takes a va_list. */ +BFS_FORMATTER(2, 0) void bfs_verror(const struct bfs_ctx *ctx, const char *format, va_list args); /** * bfs_warning() variant that takes a va_list. */ +BFS_FORMATTER(2, 0) bool bfs_vwarning(const struct bfs_ctx *ctx, const char *format, va_list args); /** * bfs_debug() variant that takes a va_list. */ +BFS_FORMATTER(3, 0) bool bfs_vdebug(const struct bfs_ctx *ctx, enum debug_flags flag, const char *format, va_list args); /** |