On Apr 17, 6:02 pm, Benjamin Smedberg <[email protected]> wrote: > On 4/17/10 9:41 AM, Michael I wrote: > > >https://wiki.mozilla.org/JSctypes > >https://developer.mozilla.org/en/JavaScript_code_modules/ctypes.jsm > > > is it possible to use this functionallity without component jsm, > > directlly only with spidermonkey ? > > How to include this and compile ? > > You're in luck. ctypes was just recently moved into Spidermonkey (js/src), > in bug 538324. There is now a function JS_InitCTypesClass which is available > if you configure spidermonkey --enable-ctypes. > > Of course this is only available on bleeding-edge spidermonkey, not any > releases. > > --BDS
that's great :) We are using little bit older SpiderMonkey (from Firefox 3.5.3) Do you think it would be hard to include ctype in this version, does it use some new features of SpiderMonkey, or is it a matter of changes in includes and makefiles ? Michael _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
