Bug 886829 - also update comments in jsclass.h DONTBUILD
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 02 Jul 2013 12:14:30 +0100
changeset 137118 3184e72d56af09d271a16b529301afda9a48d873
parent 137117 d1f08b7f90b7876fb505d1334d0b9fcdd18da5bb
child 137119 3708552959e7245bf1bd7e208ccf274b66d0fe3f
push id24909
push userkhuey@mozilla.com
push dateTue, 02 Jul 2013 16:45:38 +0000
treeherdermozilla-central@23ce4eab8fb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs886829
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 886829 - also update comments in jsclass.h DONTBUILD
js/src/jsclass.h
--- a/js/src/jsclass.h
+++ b/js/src/jsclass.h
@@ -194,26 +194,26 @@ typedef JSObject *
 (* ObjectOp)(JSContext *cx, HandleObject obj);
 typedef void
 (* FinalizeOp)(FreeOp *fop, JSObject *obj);
 
 #define JS_CLASS_MEMBERS                                                      \
     const char          *name;                                                \
     uint32_t            flags;                                                \
                                                                               \
-    /* Mandatory non-null function pointer members. */                        \
+    /* Mandatory function pointer members. */                                 \
     JSPropertyOp        addProperty;                                          \
     JSDeletePropertyOp  delProperty;                                          \
     JSPropertyOp        getProperty;                                          \
     JSStrictPropertyOp  setProperty;                                          \
     JSEnumerateOp       enumerate;                                            \
     JSResolveOp         resolve;                                              \
     JSConvertOp         convert;                                              \
                                                                               \
-    /* Optionally non-null members start here. */                             \
+    /* Optional members (may be null). */                                     \
     FinalizeOp          finalize;                                             \
     JSCheckAccessOp     checkAccess;                                          \
     JSNative            call;                                                 \
     JSHasInstanceOp     hasInstance;                                          \
     JSNative            construct;                                            \
     JSTraceOp           trace
 
 /*