Subj : Re: argv argument to JS_InstanceOf To : Braden McDaniel From : Brendan Eich Date : Tue Aug 19 2003 11:49 pm Braden McDaniel wrote: >I'm not worried about obj. The situation I have is for an element setter. >I need to make sure that *vp is an object of the correct type. > >I guess I just have to use JS_ReportError. > Yeah, you have to DIY. JS_InstanceOf with non-null argv is for JSNative impls (things that have an argv formal). The vp formal does not address a bona-fide argument vector (one where argv[-1] and argv[-2] are valid, the former being the |this| parameter, the latter the callee). /be .