summaryrefslogtreecommitdiff
path: root/include/tinyff/dbg.h
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 09:43:59 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-05-22 09:43:59 +1000
commit77aa9a3259ddfd6c64534d63424d5b0fa3010900 (patch)
tree3744ec77c3cbe164457d1e421fd4bf7dceff4c02 /include/tinyff/dbg.h
parent4d42b317f4970bd08f9b81fcc184fc015736ff58 (diff)
refactor: move benches to include directory
Diffstat (limited to 'include/tinyff/dbg.h')
-rw-r--r--include/tinyff/dbg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h
index 3fac931..379e6ce 100644
--- a/include/tinyff/dbg.h
+++ b/include/tinyff/dbg.h
@@ -14,13 +14,13 @@
#include <tinyff/common.h>
#include <tinyff/stream.h>
+#include <stdarg.h>
+
// Sets the debug stream. If stream is NULL, debug is disabled.
ff_result ff_set_debug_stream(ff_stream* stream, ff_ctx* ctx);
// Prints a string to the debug stream if debug is enabled.
-// Note: I removed stdarg. That crap nearly made me kill myself.
-// 0/10, would not recommend. Jokes on you though, I don't have a soul to kill.
-ff_result ff_dprintf(ff_ctx* ctx, const char *msg);
+ff_result ff_dprintf(ff_ctx* ctx, const char *msg, ...);
#endif \ No newline at end of file