better gcc and types.h

This commit is contained in:
2025-06-03 22:40:07 +02:00
parent 19ade556b6
commit 5ca191d14f
5 changed files with 23 additions and 19 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef TYPES_H
#define TYPES_H
struct Parameters {
unsigned long width;
unsigned long height;
char *file_path;
unsigned int size;
float slope;
float start[3];
float var[3];
};
typedef struct Parameters parameters;
typedef void line_fn(unsigned long y, char *data_buffer);
#endif