use arrays

This commit is contained in:
2025-09-30 19:26:54 +02:00
parent e379df8665
commit 0119ed2fec
4 changed files with 56 additions and 46 deletions
+10
View File
@@ -47,6 +47,11 @@ typedef struct File {
time_t last_write;
} File;
typedef struct FileArray {
File values[ARRAY_SIZE];
unsigned int length;
} FileArray;
typedef struct ShaderProgram {
bool error;
@@ -114,6 +119,11 @@ typedef struct VideoCapture {
EGLImageKHR dma_image;
} VideoCapture;
typedef struct VideoCaptureArray {
VideoCapture values[ARRAY_SIZE];
unsigned int length;
} VideoCaptureArray;
typedef GLFWwindow Window;
typedef struct SharedContext {