Skip to content

Commit 377e6a6

Browse files
rockwotjsaghul
authored andcommitted
Fix JS_INVALID_PROMISE_STATE macro
1 parent d168361 commit 377e6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickjs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ JS_EXTERN int JS_SetModuleExportList(JSContext *ctx, JSModuleDef *m,
977977

978978
/* Promise */
979979

980-
#define JS_INVALID_PROMISE_STATE -1
980+
#define JS_INVALID_PROMISE_STATE (-1)
981981

982982
typedef enum JSPromiseStateEnum {
983983
JS_PROMISE_PENDING,

0 commit comments

Comments
 (0)