JS_InitClass returns the class proto, not some other object

RESOLVED FIXED

Status

Developer Documentation
General
RESOLVED FIXED
16 years ago
5 years ago

People

(Reporter: Steven Cole, Assigned: Dawn Endico)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
Brendan mentioned in netscape.public.mozilla.jseng today that the JS_InitClass
return value remarks in the Spidermonkey docs is misleading.  His suggested
rewording is "|JS_InitClass| returns a pointer to a JS object that is the
prototype for the newly initialized class."

Patch for the Spidermonkey APIDOC is coming up.
(Reporter)

Comment 1

16 years ago
Created attachment 95475 [details] [diff] [review]
Proposed patch to the document source xml.

Comment 2

16 years ago
checked in.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
Component: Mozilla Developer → Documentation Requests
Product: Documentation → Mozilla Developer Center
Component: Documentation Requests → Documentation
Product: Mozilla Developer Network → Mozilla Developer Network
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
You need to log in before you can comment on or make changes to this bug.