fx: add macro to initialise an empty fx_value
This commit is contained in:
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user