Cast to (const char *) in strrchr calls
[elinks.git] / src / scripting / smjs / smjs.c
blob7bdab278f72dc6a6b976e9fcb0ee6cda66ed0779
1 /* ECMAScript browser scripting module */
3 #ifdef HAVE_CONFIG_H
4 #include "config.h"
5 #endif
7 #include "elinks.h"
9 #include "intl/gettext/libintl.h"
10 #include "main/module.h"
11 #include "scripting/smjs/core.h"
12 #include "scripting/smjs/hooks.h"
15 struct module smjs_scripting_module = struct_module(
16 /* name: */ N_("Spidermonkey ECMAScript"),
17 /* options: */ NULL,
18 /* events: */ smjs_scripting_hooks,
19 /* submodules: */ NULL,
20 /* data: */ NULL,
21 /* init: */ init_smjs,
22 /* done: */ cleanup_smjs