summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tinyff/tinyff.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/tinyff/tinyff.h b/include/tinyff/tinyff.h
index 52d3f03..5fb10c5 100644
--- a/include/tinyff/tinyff.h
+++ b/include/tinyff/tinyff.h
@@ -1,13 +1,8 @@
-// TODO: Include all formats
+#include <tinyff/common.h>
+#include <tinyff/stream.h>
+#include <tinyff/result.h>
+#define FF_BASE \
+ bool valid; \
+ ff_result last_error;
-
-#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