diff options
Diffstat (limited to 'inc/types.h')
-rw-r--r-- | inc/types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/inc/types.h b/inc/types.h new file mode 100644 index 0000000..4af17db --- /dev/null +++ b/inc/types.h @@ -0,0 +1,18 @@ +#include "macros.h" +#include <stddef.h> + +#ifndef TYPES_H +#define TYPES_H + +DEFINE_ARRAY(int); +DEFINE_ARRAY(uint32_t); +DEFINE_ARRAY(int32_t); +DEFINE_ARRAY(float); +DEFINE_ARRAY(double); + +typedef struct Line { + double m; + double a; +} Line; + +#endif // TYPES_H |