Skip to content

Commit

Permalink
Expose JS_HasException API (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
laishere authored and saghul committed Jan 5, 2025
1 parent 9fc7940 commit b675a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs.h
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ static inline JS_BOOL JS_IsObject(JSValue v)

JS_EXTERN JSValue JS_Throw(JSContext *ctx, JSValue obj);
JS_EXTERN JSValue JS_GetException(JSContext *ctx);
JS_BOOL JS_HasException(JSContext *ctx);
JS_EXTERN JS_BOOL JS_HasException(JSContext *ctx);
JS_EXTERN JS_BOOL JS_IsError(JSContext *ctx, JSValue val);
JS_EXTERN JS_BOOL JS_IsUncatchableError(JSContext* ctx, JSValue val);
JS_EXTERN void JS_ResetUncatchableError(JSContext *ctx);
Expand Down

0 comments on commit b675a95

Please sign in to comment.