Spidermonkey 1.70 headers don't have JS_SET_RVAL

This commit is contained in:
Chris Young 2012-11-08 20:09:40 +00:00
parent 85ede7192d
commit 2a63ce87bb

View File

@ -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)