mirror of
https://github.com/rkd77/elinks.git
synced 2025-10-21 19:54:04 -04:00
[spidermonkey] Show version of mozjs in About dialog
This commit is contained in:
@@ -122,9 +122,14 @@ reported:
|
||||
JS_ClearPendingException(ctx);
|
||||
}
|
||||
|
||||
static char spidermonkey_version[32];
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user