diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/tinyff/dbg.h | 5 | ||||
| -rw-r--r-- | include/tinyff/tinyff.h | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h index be5e04e..3871c2b 100644 --- a/include/tinyff/dbg.h +++ b/include/tinyff/dbg.h @@ -15,11 +15,6 @@ #include <tinyff/result.h> #include <tinyff/common.h> -extern FILE *intff_debug_stream; - -// This flag is the same name as FF_DEBUG_ENABLED but is local to this file -// Thats why it has the int prefix -extern ff_flag intff_debug_enabled; // Sets the debug stream. If stream is NULL, debug is disabled. ff_result ff_set_debug_stream(FILE *stream); diff --git a/include/tinyff/tinyff.h b/include/tinyff/tinyff.h index 48c4bbf..51298ef 100644 --- a/include/tinyff/tinyff.h +++ b/include/tinyff/tinyff.h @@ -1 +1,12 @@ -// TODO: Include all formats
\ No newline at end of file +// TODO: Include all formats + + + +#include "common.h" +#include "stream.h" +typedef struct { + // Debug settings + ff_stream* ff_debug_stream; + ff_flag ff_debug_enabled; + +} ff_ctx;
\ No newline at end of file |
