mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[quikjs] DupValue
This commit is contained in:
parent
ab4a08218f
commit
c97d0c0690
@ -660,7 +660,9 @@ js_document_get_property_location(JSContext *ctx, JSValueConst this_val)
|
|||||||
|
|
||||||
struct ecmascript_interpreter *interpreter = (struct ecmascript_interpreter *)JS_GetContextOpaque(ctx);
|
struct ecmascript_interpreter *interpreter = (struct ecmascript_interpreter *)JS_GetContextOpaque(ctx);
|
||||||
|
|
||||||
RETURN_JS(interpreter->location_obj);
|
JSValue ret = JS_DupValue(ctx, interpreter->location_obj);
|
||||||
|
|
||||||
|
RETURN_JS(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
static JSValue
|
static JSValue
|
||||||
|
Loading…
Reference in New Issue
Block a user