summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-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