Subj : Re: Pairs of 32-bit pointers To : netscape.public.mozilla.jseng From : "Sterling Bates" Date : Sat Dec 06 2003 09:58 pm > > stores two pointers for every object method: one to the code, and one > >to "this" or "self". By permitting a method pointer as a callback, > >developers could point directly to the object instance that expects the call > >instead of a call wrapper. The private slot is not always available, or > >sometimes just not a good idea, for this. > > It's not relevant. I just clued in to what you meant here :) What I meant to say, without making any apparent effort to say it , was in reference to storing an external object reference in the private slot, so that a callback procedure would know where to pass a given property operation. This is tied to the double pointer for variables. Both JSString and jsdouble could leave the private slot alone, putting the entire pointer to the value in the second 32 bits. Then an outside developer can drop an object instance into the private slot. Thanks, Sterling .