Subj : Re: Updated API ref To : Sterling Bates From : Brendan Eich Date : Thu Apr 22 2004 02:44 pm Sterling Bates wrote: > Jens Thiele wrote: > >> JSFunctionSpec: >> the extra field is documented as: >> extra uint16 Reserved for future use. >> >> but it is: >> /* number of arg slots for local GC roots */ >> (jsapi.h and some tutorial afair) >> > > Since it is an "extra" field, and not specifically named for its purpose > I could change the text to read this: Don't be fooled. The name is confusing, but it means "extra argument slots for local GC roots". > > Currently the number of argument slots for local GC roots. So "Currently" is wrong. Again, this is frozen API, it can't and won't change. > It would be handy to then link over to Brendan's GC tutorial which, > IIRC, discusses using argument slots as roots. Yes, good idea. /be .