add MAX_LABEL_LEN macro

This commit is contained in:
onyx-and-iris 2024-06-25 23:34:25 +01:00
parent 304f26d64c
commit 41c44db837

View File

@ -6,6 +6,7 @@
#include "vmr.h" #include "vmr.h"
#define MAX_LINE 1024 #define MAX_LINE 1024
#define MAX_LABEL_LEN 512
enum enum
{ {
@ -19,7 +20,7 @@ struct result
union val union val
{ {
float f; float f;
char s[512]; char s[MAX_LABEL_LEN];
} val; } val;
}; };