Subj : Re: Create Vars from C To : netscape.public.mozilla.jseng From : Todd Fisher Date : Thu Mar 24 2005 09:02 pm Hi Frank, I haven't tried it yet but I did read through and thought this document was very informative. So, I thought you might also find it helpful :-) http://users.skynet.be/saw/SpiderMonkey.htm -Todd Frank Luctos wrote: >Hi, > >Can anyone tell me how I can create an object in my C code that is visible >inside a JavaScript? > >To explain, lets say I want a variable called "MyVar" inside my JavaScript >that points to an object I've created. > >What SpiderMonkey API's do I have to execute in the C code to make that >MyVar available inside a particular script? > >Thanks in advance, > >Frank > > >_______________________________________________ >mozilla-jseng mailing list >mozilla-jseng@mozilla.org >http://mail.mozilla.org/listinfo/mozilla-jseng > > .