From 253db94f5a26820673a6ab3901093466f057b19e Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Mon, 30 Mar 2026 06:41:04 +1100 Subject: feat(dbg): Remove message formatting (temp) --- include/tinyff/dbg.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h index 3871c2b..3fac931 100644 --- a/include/tinyff/dbg.h +++ b/include/tinyff/dbg.h @@ -10,17 +10,17 @@ #define FF_DEBUG_ENABLED 1 -#include -#include #include #include +#include // Sets the debug stream. If stream is NULL, debug is disabled. -ff_result ff_set_debug_stream(FILE *stream); +ff_result ff_set_debug_stream(ff_stream* stream, ff_ctx* ctx); // Prints a string to the debug stream if debug is enabled. -// The call formatting is the same as printf -ff_result ff_dprintf(const char *format, ...); +// 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); #endif \ No newline at end of file -- cgit v1.2.3