fix: nested member access
This commit is contained in:
parent
e5673a8e68
commit
8ac7c0d51f
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ typedef struct JSValue {
|
||||||
|
|
||||||
#define JS_TAG_IS_FLOAT64(tag) ((unsigned)(tag) == JS_TAG_FLOAT64)
|
#define JS_TAG_IS_FLOAT64(tag) ((unsigned)(tag) == JS_TAG_FLOAT64)
|
||||||
|
|
||||||
#define JS_NAN (JSValue){ .u.float64 = JS_FLOAT64_NAN, JS_TAG_FLOAT64 }
|
#define JS_NAN (JSValue){ (JSValueUnion){ .float64 = JS_FLOAT64_NAN }, JS_TAG_FLOAT64 }
|
||||||
|
|
||||||
static inline JSValue __JS_NewFloat64(double d)
|
static inline JSValue __JS_NewFloat64(double d)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue