Subj : Re: Delphi developers: headers for Mozilla JS engine To : netscape.public.mozilla.jseng From : "Sterling Bates" Date : Sat Jul 12 2003 08:39 pm I was going to test out whether this. was required :) Thanks for clarifying. I translated some of the private structs that were used in the hooks (*Op, JSHash*, etc). I had initially started out with straight pointers (JS is supposed to be opaque, right?) but then I saw some hooks where my callback could extract information directly. If that's still not a Good Thing, I'll go back to pointers. I'm not sure why all the entry points wouldn't be there...though I did use a Borland tool to export the function names and indexes. Sterling "Brendan Eich" wrote in message news:3F1044C0.1050107@meer.net... > Sterling Bates wrote: > > I have a mostly-completed interface for Mozilla's javascript engine. The > > links for both (unit & engine) are at the bottom. > > Cool. One bug: > > if (JS_GetProperty(cx, global, 'this.i', @rval) = JS_TRUE) then > ShowMessage('this.i is an accessible property'); > > The id should be just 'i', not 'this.i'. > > I didn't see all the public JS_* entry points declared, and I wondered > why all the private structs and js_* "library-private" entry points were > declared. Those shouldn't be used outside the engine. > > /be > > > .