On 17 Kwi, 20:12, Benjamin Smedberg <benja...@smedbergs.us> wrote: > On 4/17/10 1:33 PM, Michael I wrote: > > >> You're in luck.ctypeswas 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. > > > 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 ? > > I don't know. You'd have to ask in mozilla.dev.tech.js-engine, the > spidermonkey newsgroup. > > --BDS
Thanks a lot :) I'm testing ctypes with trunk version of firefox and this works great. I have problem with compiling SpiderMonkey alone with ctypes (without ctypes it compiles ok) cd js/src autoconf-2.13 ./configure --enable-ctypes make I am getting error: c:\moztrunk\js\src\ctypes\CTypes.h(44) : fatal error C1083: Cannot open include file: 'prlink.h': No such file or directory Does spidermonkey with ctypes requires nspr ? How to configure with ctypes ? Michael _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding