mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Spidermonkey 1.70 headers don't have JS_SET_RVAL
This commit is contained in:
parent
85ede7192d
commit
2a63ce87bb
@ -58,6 +58,7 @@
|
||||
|
||||
/* return value setter */
|
||||
#define JSAPI_SET_RVAL(cx, vp, v) (*jsapi_rval = (v))
|
||||
#define JS_SET_RVAL(cx, vp, v) (*(vp) = (v))
|
||||
|
||||
/* arguments */
|
||||
#define JSAPI_ARGV(cx, vp) (vp)
|
||||
|
Loading…
Reference in New Issue
Block a user