Subj : Re: Sending args to JS_ConstructObject To : Brian Genisio From : Brian Genisio Date : Thu Jan 22 2004 03:58 pm Brian Genisio wrote: > Hi all, > > I am writing code that needs to create a new JSObject. I want to use > JS_ConstructObject, so the constructor can be called, but how do I send > arguments to the constructor? > > My constructor takes argv and argc, so I know how to receive the > arguements, but how do I construct with arguments? > > Thanks, > Brian > Ok, so it appears that JS_ConstructObjectWithArguments exists in the jsapi.h, but it is not on the online API reference. Brian .