Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mquickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ static BOOL JS_IsPrimitive(JSContext *ctx, JSValue val)
}

/* Note: short functions are not considered as objects by this function */
static BOOL JS_IsObject(JSContext *ctx, JSValue val)
BOOL JS_IsObject(JSContext *ctx, JSValue val)
{
if (!JS_IsPtr(val)) {
return FALSE;
Expand Down
1 change: 1 addition & 0 deletions mquickjs.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ static inline JSValue JS_NewBool(int val)
JS_BOOL JS_IsNumber(JSContext *ctx, JSValue val);
JS_BOOL JS_IsString(JSContext *ctx, JSValue val);
JS_BOOL JS_IsError(JSContext *ctx, JSValue val);
JS_BOOL JS_IsObject(JSContext *ctx, JSValue val);
JS_BOOL JS_IsFunction(JSContext *ctx, JSValue val);

int JS_GetClassID(JSContext *ctx, JSValue val);
Expand Down