Skip to content

Commit b675a95

Browse files
laisheresaghul
authored andcommitted
Expose JS_HasException API (#785)
1 parent 9fc7940 commit b675a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickjs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ static inline JS_BOOL JS_IsObject(JSValue v)
614614

615615
JS_EXTERN JSValue JS_Throw(JSContext *ctx, JSValue obj);
616616
JS_EXTERN JSValue JS_GetException(JSContext *ctx);
617-
JS_BOOL JS_HasException(JSContext *ctx);
617+
JS_EXTERN JS_BOOL JS_HasException(JSContext *ctx);
618618
JS_EXTERN JS_BOOL JS_IsError(JSContext *ctx, JSValue val);
619619
JS_EXTERN JS_BOOL JS_IsUncatchableError(JSContext* ctx, JSValue val);
620620
JS_EXTERN void JS_ResetUncatchableError(JSContext *ctx);

0 commit comments

Comments
 (0)