fx: add macro to initialise an empty fx_value

This commit is contained in:
2026-05-04 16:36:07 +01:00
parent 32264d693c
commit 5aae7dff6b
+1
View File
@@ -5,6 +5,7 @@
#include <fx/type.h>
#include <stdint.h>
#define FX_VALUE_EMPTY ((fx_value) {})
#define FX_VALUE_BOOL(v) \
((fx_value) { \
.v_type.t_primitive = FX_VALUE_TYPE_BOOL, \