Subj : Re: Private Data and Prototype Inheritance To : netscape.public.mozilla.jseng From : "Kevin Lindsey" Date : Sat Jan 10 2004 10:12 am Marcello Bastea-Forte wrote: > > Is there a idiom or recommended way of converting to and from jsvals and > > pointers? > Unless I'm not understanding what you mean, can't you use the JSVAL_TO_x > and x_TO_JSVAL macros? Thanks Marcello. I was asking more of what the best practice is for converting between a private pointer and a jsval. Brendan has answered my question in a separate post. Kevin .