Re: New extension: spidermonkey
| From: | Alexey Zakhlestin | Date: | Fri, 20 Feb 2009 09:59:56 +0000 |
| Subject: | Re: New extension: spidermonkey | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6139@lists.php.net to get a copy of this message | ||
On Fri, Feb 20, 2009 at 12:11 PM, Christophe Robin <c.robin@smartphp.org> wrote:
> I made the changes on JSRuntime, I just didn't knew how to use extension
> globals yet, so you just need to do "$ctx = new JSContext();" now and you're
> ready to go :D
Ok, I tried to compile it in debug-zts mode. It doesn't compile:
pecl-spidermonkey/spidermonkey.c: In function 'zm_startup_spidermonkey':
pecl-spidermonkey/spidermonkey.c:176: error: 'spidermonkey_globals'
undeclared (first use in this function)
pecl-spidermonkey/spidermonkey.c:176: error: (Each undeclared
identifier is reported only once
pecl-spidermonkey/spidermonkey.c:176: error: for each function it appears in.)
pecl-spidermonkey/spidermonkey.c: In function 'jsval_to_zval':
pecl-spidermonkey/spidermonkey.c:278: error: 'tsrm_ls' undeclared
(first use in this function)
pecl-spidermonkey/spidermonkey.c: In function 'zval_to_jsval':
pecl-spidermonkey/spidermonkey.c:379: error: 'tsrm_ls' undeclared
(first use in this function)
> As for the license, spidermonkey is LGPL/MPL which are compatible with the
> PHP license.
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Alexey Zakhlestin
http://www.milkfarmsoft.com/