diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-17 15:47:27 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-17 15:47:27 +1100 |
| commit | a3be7b4d9e6b06ecb82518cb61cefba494162281 (patch) | |
| tree | 4bcebcdf099446ba882bf61a43f17dd08efae85f /include/tinyff/dbg.h | |
| parent | 1e91f1d335e0d25b84f0b93aceff91f2f7fb9760 (diff) | |
feat(dbg): Comment functions
Diffstat (limited to 'include/tinyff/dbg.h')
| -rw-r--r-- | include/tinyff/dbg.h | 4 |
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 |
