diff options
author | Charlie Gordon <github@chqrlie.org> | 2024-02-10 16:18:11 +0100 |
---|---|---|
committer | Charlie Gordon <github@chqrlie.org> | 2024-02-10 16:19:17 +0100 |
commit | 37bd4ae62db064984a5956ab534920dfa21e3c5d (patch) | |
tree | 3bfd1df7e0e68e53771fab0fca9e17a1ef7b8156 /quickjs.h | |
parent | 6f480abbc8b2abe91fcc0fa58aa07c367e1dcb36 (diff) | |
download | quickjs-37bd4ae62db064984a5956ab534920dfa21e3c5d.tar.gz quickjs-37bd4ae62db064984a5956ab534920dfa21e3c5d.zip |
Strip trailing spaces
Diffstat (limited to 'quickjs.h')
-rw-r--r-- | quickjs.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -126,7 +126,7 @@ static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v) { return 0; } - + #elif defined(JS_NAN_BOXING) typedef uint64_t JSValue; @@ -191,7 +191,7 @@ static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v) tag = JS_VALUE_GET_TAG(v); return tag == (JS_NAN >> 32); } - + #else /* !JS_NAN_BOXING */ typedef union JSValueUnion { @@ -309,7 +309,7 @@ static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v) #define JS_EVAL_FLAG_BACKTRACE_BARRIER (1 << 6) /* allow top-level await in normal script. JS_Eval() returns a promise. Only allowed with JS_EVAL_TYPE_GLOBAL */ -#define JS_EVAL_FLAG_ASYNC (1 << 7) +#define JS_EVAL_FLAG_ASYNC (1 << 7) typedef JSValue JSCFunction(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv); typedef JSValue JSCFunctionMagic(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic); @@ -969,7 +969,7 @@ static inline JSValue JS_NewCFunctionMagic(JSContext *ctx, JSCFunctionMagic *fun { return JS_NewCFunction2(ctx, (JSCFunction *)func, name, length, cproto, magic); } -void JS_SetConstructor(JSContext *ctx, JSValueConst func_obj, +void JS_SetConstructor(JSContext *ctx, JSValueConst func_obj, JSValueConst proto); /* C property definition */ |