mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[spidermonkey] Show version of mozjs in About dialog
This commit is contained in:
parent
e7603f2b21
commit
ea7094ecb1
@ -122,9 +122,14 @@ reported:
|
|||||||
JS_ClearPendingException(ctx);
|
JS_ClearPendingException(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static char spidermonkey_version[32];
|
||||||
|
|
||||||
static void
|
static void
|
||||||
spidermonkey_init(struct module *xxx)
|
spidermonkey_init(struct module *module)
|
||||||
{
|
{
|
||||||
|
snprintf(spidermonkey_version, 31, "mozjs %s", JS_GetImplementationVersion());
|
||||||
|
module->name = spidermonkey_version;
|
||||||
|
|
||||||
js_module_init_ok = spidermonkey_runtime_addref();
|
js_module_init_ok = spidermonkey_runtime_addref();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user