mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 10:12:59 +00:00
Update JS_InitClass to match signature.
This commit is contained in:
parent
6d9f9c1954
commit
2fcf1e1f5e
@ -389,7 +389,7 @@ Defining classes</h4>
|
||||
* prototype object ('MyClass.prototype') for authors to extend with new
|
||||
* properties at run-time.
|
||||
*/
|
||||
protoObj = JS_InitClass(cx, globalObj, &my_class,
|
||||
protoObj = JS_InitClass(cx, globalObj, NULL, &my_class,
|
||||
|
||||
/* native constructor function and min arg count */
|
||||
MyClass, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user