1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[quickjs] compilation fixes

This commit is contained in:
Witold Filipczyk 2021-12-03 12:45:23 +01:00
parent 5a14b61c0d
commit 9dca06c604
2 changed files with 4 additions and 4 deletions

View File

@ -171,7 +171,7 @@ js_document_get_property_body(JSContext *ctx, JSValueConst this_val)
} }
static JSValue static JSValue
js_document_set_property_body(JSContext *ctx, JSValueConst this_val) js_document_set_property_body(JSContext *ctx, JSValueConst this_val, JSValue val)
{ {
#ifdef ECMASCRIPT_DEBUG #ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__); fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
@ -247,7 +247,7 @@ js_document_set_property_cookie(JSContext *ctx, JSValueConst this_val, JSValue v
#endif #endif
static JSValue static JSValue
js_document_get_property_charset(JSContext *ctx, JSValueConst this_val, JSValue val) js_document_get_property_charset(JSContext *ctx, JSValueConst this_val)
{ {
#ifdef ECMASCRIPT_DEBUG #ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__); fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);

View File

@ -1261,7 +1261,7 @@ js_input_click(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *ar
/* @input_funcs{"focus"} */ /* @input_funcs{"focus"} */
static JSValue static JSValue
js_input_focus(JSContext *ctx, JSValueConst this_val, unsigned int argc, JSValueConst *argv) js_input_focus(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
{ {
#ifdef ECMASCRIPT_DEBUG #ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__); fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
@ -1304,7 +1304,7 @@ js_input_focus(JSContext *ctx, JSValueConst this_val, unsigned int argc, JSValue
/* @input_funcs{"select"} */ /* @input_funcs{"select"} */
static JSValue static JSValue
js_input_select(JSContext *ctx, JSValueConst this_val, unsigned int argc, JSValueConst *argv) js_input_select(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
{ {
#ifdef ECMASCRIPT_DEBUG #ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__); fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);