From a3be7b4d9e6b06ecb82518cb61cefba494162281 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Tue, 17 Feb 2026 15:47:27 +1100 Subject: feat(dbg): Comment functions --- include/tinyff/dbg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/tinyff') diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h index 7392f5a..e432262 100644 --- a/include/tinyff/dbg.h +++ b/include/tinyff/dbg.h @@ -21,9 +21,11 @@ static FILE *intff_debug_stream = NULL; // Thats why it has the int prefix static ff_flag intff_debug_enabled = 0; +// Sets the debug stream. If stream is NULL, debug is disabled. ff_result ff_set_debug_stream(FILE *stream); - +// 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, ...); #endif \ No newline at end of file -- cgit v1.2.3