/dports/games/warzone2100/warzone2100/3rdparty/quickjs/patches/ |
H A D | 004-fix-pedantic-cxx-warnings.patch | 6 #define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } 10 +#undef JS_MKPTR 14 +#define JS_MKPTR(tag, p) JSValue{ with(JSValueUnion, t.ptr = p), tag }
|
H A D | 006-msvc-64bit-compatibility.patch | 190 -#define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } 191 +#define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = (uintptr_t)(void *)p }, tag } 199 -#define JS_MKPTR(tag, p) JSValue{ with(JSValueUnion, t.ptr = p), tag } 200 +#define JS_MKPTR(tag, p) JSValue{ with(JSValueUnion, t.ptr = (uintptr_t)(void *)p), tag }
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/quickjs/ |
H A D | quickjs.h | 114 #define JS_MKPTR(tag, p) (JSValue)((intptr_t)(p) | (tag)) macro 142 #define JS_MKPTR(tag, ptr) (((uint64_t)(tag) << 32) | (uintptr_t)(ptr)) macro 220 #define JS_MKPTR(tag, p) [&](){ JSValue tmp { { p }, tag }; return tmp; }() macro 224 #define JS_MKPTR(tag, p) (JSValue){ { p }, tag } macro 227 #define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } macro
|
H A D | quickjs.c | 3303 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string8() 3313 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string16() 3350 return JS_MKPTR(JS_TAG_STRING, str); in js_sub_string() 3693 return JS_MKPTR(JS_TAG_STRING, str); in string_buffer_end() 4006 return JS_MKPTR(JS_TAG_STRING, p); in JS_ConcatString1() 4587 return JS_MKPTR(JS_TAG_OBJECT, p); in JS_NewObjectFromShape() 11879 ret = JS_MKPTR(JS_TAG_BIG_FLOAT, p); in JS_NewBigFloat() 11895 ret = JS_MKPTR(JS_TAG_BIG_DECIMAL, p); in JS_NewBigDecimal() 11916 ret = JS_MKPTR(JS_TAG_BIG_INT, p); in JS_NewBigInt2() 15165 this_val = JS_MKPTR(JS_TAG_OBJECT, p); in js_instantiate_prototype() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/quickjs/ |
H A D | quickjs.h | 114 #define JS_MKPTR(tag, p) (JSValue)((intptr_t)(p) | (tag)) macro 142 #define JS_MKPTR(tag, ptr) (((uint64_t)(tag) << 32) | (uintptr_t)(ptr)) macro 220 #define JS_MKPTR(tag, p) [&](){ JSValue tmp { { p }, tag }; return tmp; }() macro 224 #define JS_MKPTR(tag, p) (JSValue){ { p }, tag } macro 227 #define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } macro
|
H A D | quickjs.c | 3305 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string8() 3315 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string16() 3352 return JS_MKPTR(JS_TAG_STRING, str); in js_sub_string() 3695 return JS_MKPTR(JS_TAG_STRING, str); in string_buffer_end() 4008 return JS_MKPTR(JS_TAG_STRING, p); in JS_ConcatString1() 4589 return JS_MKPTR(JS_TAG_OBJECT, p); in JS_NewObjectFromShape() 11881 ret = JS_MKPTR(JS_TAG_BIG_FLOAT, p); in JS_NewBigFloat() 11897 ret = JS_MKPTR(JS_TAG_BIG_DECIMAL, p); in JS_NewBigDecimal() 11918 ret = JS_MKPTR(JS_TAG_BIG_INT, p); in JS_NewBigInt2() 15167 this_val = JS_MKPTR(JS_TAG_OBJECT, p); in js_instantiate_prototype() [all …]
|
/dports/games/warzone2100/warzone2100/3rdparty/quickjs/ |
H A D | quickjs.h | 120 #define JS_MKPTR(tag, p) (JSValue)((intptr_t)(p) | (tag)) macro 150 #define JS_MKPTR(tag, ptr) (((uint64_t)(tag) << 32) | (uintptr_t)(ptr)) macro 229 #define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = (uintptr_t)(void *)p }, tag } macro 233 #undef JS_MKPTR 237 #define JS_MKPTR(tag, p) JSValue{ with(JSValueUnion, t.ptr = (uintptr_t)(void *)p), tag } macro
|
H A D | quickjs.c | 3514 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string8() 3524 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string16() 3561 return JS_MKPTR(JS_TAG_STRING, str); in js_sub_string() 3904 return JS_MKPTR(JS_TAG_STRING, str); in string_buffer_end() 4217 return JS_MKPTR(JS_TAG_STRING, p); in JS_ConcatString1() 4868 return JS_MKPTR(JS_TAG_OBJECT, p); in JS_NewObjectFromShape() 12344 return JS_MKPTR(JS_TAG_BIG_FLOAT, p); in JS_NewBigFloat() 12366 return JS_MKPTR(JS_TAG_BIG_INT, p); in JS_NewBigInt() 15840 this_val = JS_MKPTR(JS_TAG_OBJECT, p); in js_instantiate_prototype() 19018 func_obj = JS_MKPTR(JS_TAG_INT, s); in async_func_resume() [all …]
|
/dports/lang/quickjs/quickjs-2021-03-27/ |
H A D | quickjs.h | 114 #define JS_MKPTR(tag, p) (JSValue)((intptr_t)(p) | (tag)) macro 142 #define JS_MKPTR(tag, ptr) (((uint64_t)(tag) << 32) | (uintptr_t)(ptr)) macro 219 #define JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } macro
|
H A D | quickjs.c | 3471 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string8() 3481 return JS_MKPTR(JS_TAG_STRING, str); in js_new_string16() 3518 return JS_MKPTR(JS_TAG_STRING, str); in js_sub_string() 3861 return JS_MKPTR(JS_TAG_STRING, str); in string_buffer_end() 4174 return JS_MKPTR(JS_TAG_STRING, p); in JS_ConcatString1() 4825 return JS_MKPTR(JS_TAG_OBJECT, p); in JS_NewObjectFromShape() 12297 return JS_MKPTR(JS_TAG_BIG_FLOAT, p); in JS_NewBigFloat() 12319 return JS_MKPTR(JS_TAG_BIG_INT, p); in JS_NewBigInt() 15793 this_val = JS_MKPTR(JS_TAG_OBJECT, p); in js_instantiate_prototype() 18971 func_obj = JS_MKPTR(JS_TAG_INT, s); in async_func_resume() [all …]
|