use internal calls for internals
This commit is contained in:
689
source/quickjs.c
689
source/quickjs.c
File diff suppressed because it is too large
Load Diff
@@ -545,6 +545,11 @@ static inline JS_BOOL JS_IsFunction(JSValueConst v)
|
||||
return JS_VALUE_GET_TAG(v) == JS_TAG_FUNCTION;
|
||||
}
|
||||
|
||||
static inline JS_BOOL JS_IsInteger(JSValueConst v)
|
||||
{
|
||||
return JS_VALUE_GET_TAG(v) == JS_TAG_INT;
|
||||
}
|
||||
|
||||
static inline JS_BOOL JS_IsObject(JSValueConst v)
|
||||
{
|
||||
return JS_VALUE_GET_TAG(v) == JS_TAG_OBJECT;
|
||||
|
||||
Reference in New Issue
Block a user