Remove union mg_val

This commit is contained in:
cpq committed 2026-04-27 15:50:58 +01:00
1 parent 7e26bba8a9
commit 609a0bd905
2 files changed
+1 -17

No files matched your search

+1 -9
View File
@@ -3157,15 +3157,7 @@ enum mg_val_type {
MG_VAL_BOOL,
MG_VAL_DBL,
MG_VAL_STR,
MG_VAL_RAW
};
union mg_val {
int i;
bool b;
double d;
char *s;
void (*fn)(void);
MG_VAL_RAW,
};
struct mg_field {
-8
View File
@@ -15,14 +15,6 @@ enum mg_val_type {
MG_VAL_RAW,
};
union mg_val {
int i;
bool b;
double d;
char *s;
void (*fn)(void);
};
struct mg_field {
const char *name;
enum mg_val_type type;