Home
last modified time | relevance | path

Searched refs:JS_MKVAL (Results 1 – 1 of 1) sorted by relevance

/third_party/quickjs/
Dquickjs.h113 #define JS_MKVAL(tag, val) (JSValue)(intptr_t)(((val) << 4) | (tag)) macro
118 #define JS_NAN JS_MKVAL(JS_TAG_FLOAT64, 1)
122 return JS_MKVAL(JS_TAG_FLOAT64, (int)d); in __JS_NewFloat64()
141 #define JS_MKVAL(tag, val) (((uint64_t)(tag) << 32) | (uint32_t)(val)) macro
218 #define JS_MKVAL(tag, val) (JSValue){ (JSValueUnion){ .int32 = val }, tag } macro
255 #define JS_NULL JS_MKVAL(JS_TAG_NULL, 0)
256 #define JS_UNDEFINED JS_MKVAL(JS_TAG_UNDEFINED, 0)
257 #define JS_FALSE JS_MKVAL(JS_TAG_BOOL, 0)
258 #define JS_TRUE JS_MKVAL(JS_TAG_BOOL, 1)
259 #define JS_EXCEPTION JS_MKVAL(JS_TAG_EXCEPTION, 0)
[all …]