summaryrefslogtreecommitdiff
path: root/javascript/jsapi.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-11-06 18:47:26 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-11-06 18:47:26 +0000
commitb68f928cb23a42bf0ff3851d24d366865869f218 (patch)
tree8d23385a4de2b6f2646701b6881aabfab81802a7 /javascript/jsapi.h
parente0dc7d40abd4480f70fe9e54b10208adf0bf84fa (diff)
downloadnetsurf-b68f928cb23a42bf0ff3851d24d366865869f218.tar.gz
netsurf-b68f928cb23a42bf0ff3851d24d366865869f218.tar.bz2
fix JSAPI_CLASS_NO_INTERNAL_MEMBERS for 1.8.0 spidermonkey
Diffstat (limited to 'javascript/jsapi.h')
-rw-r--r--javascript/jsapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/jsapi.h b/javascript/jsapi.h
index d664b3795..ed72ef433 100644
--- a/javascript/jsapi.h
+++ b/javascript/jsapi.h
@@ -97,7 +97,7 @@ JS_NewCompartmentAndGlobalObject(JSContext *cx,
/* string type cast */
#define JSAPI_STRING_TO_JSVAL(str) ((str == NULL)?JSVAL_NULL:STRING_TO_JSVAL(str))
-#define JSAPI_CLASS_NO_INTERNAL_MEMBERS JSCLASS_NO_RESERVED_MEMBERS
+#define JSAPI_CLASS_NO_INTERNAL_MEMBERS NULL