summaryrefslogtreecommitdiff
path: root/include/tinyff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-17 15:47:27 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-17 15:47:27 +1100
commita3be7b4d9e6b06ecb82518cb61cefba494162281 (patch)
tree4bcebcdf099446ba882bf61a43f17dd08efae85f /include/tinyff
parent1e91f1d335e0d25b84f0b93aceff91f2f7fb9760 (diff)
feat(dbg): Comment functions
Diffstat (limited to 'include/tinyff')
-rw-r--r--include/tinyff/dbg.h4
1 files changed, 3 insertions, 1 deletions
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