diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/tinyff/common.h | 6 | ||||
| -rw-r--r-- | include/tinyff/image/png.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/tinyff/common.h b/include/tinyff/common.h index 678bda9..838caa3 100644 --- a/include/tinyff/common.h +++ b/include/tinyff/common.h @@ -64,10 +64,4 @@ typedef struct { ff_ctx* ff_init(ff_allocator* allocator); void ff_cleanup(ff_ctx* ctx); - -// Small math functions -// TODO: Implement a full math library for tinyff - -#define FF_ABS(a) (((a) < 0) ? -(a) : (a)) - #endif
\ No newline at end of file diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 82fba32..8ccc4e6 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -12,6 +12,7 @@ #include <tinyff/stream.h> #include <tinyff/image/generic.h> #include <tinyff/dbg.h> +#include <tinyff/math/core.h> |
