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/dstring.h | |
parent | ededa3ed1cf0d02fcdb9a42d44d46a84fec1c58e (diff) | |
download | bfs-0cc598f1628167599131756e909630dc36d33610.tar.xz |
Add BFS_FORMATTER() to vprintf()-type functions too
Diffstat (limited to 'src/dstring.h')
-rw-r--r-- | src/dstring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dstring.h b/src/dstring.h index 51f1b2f..df20a04 100644 --- a/src/dstring.h +++ b/src/dstring.h @@ -152,6 +152,7 @@ char *dstrprintf(const char *format, ...); * @return * The created string, or NULL on failure. */ +BFS_FORMATTER(1, 0) char *dstrvprintf(const char *format, va_list args); /** @@ -181,6 +182,7 @@ int dstrcatf(char **str, const char *format, ...); * @return * 0 on success, -1 on failure. */ +BFS_FORMATTER(2, 0) int dstrvcatf(char **str, const char *format, va_list args); /** |