Closed Bug 162946 Opened 22 years ago Closed 22 years ago

JS_InitClass returns the class proto, not some other object

Categories

(Developer Documentation Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scole, Assigned: endico)

Details

Attachments

(1 file)

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.
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Component: Mozilla Developer → Documentation Requests
Product: Documentation → Mozilla Developer Center
Component: Documentation Requests → Documentation
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.

Attachment

General

Creator:
Created:
Updated:
Size: