mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[smjs] const
This commit is contained in:
parent
1ee99c9aef
commit
ee6d24b66d
@ -33,7 +33,7 @@ JSObject *smjs_elinks_object;
|
|||||||
struct session *smjs_ses;
|
struct session *smjs_ses;
|
||||||
|
|
||||||
void
|
void
|
||||||
alert_smjs_error(char *msg)
|
alert_smjs_error(const char *msg)
|
||||||
{
|
{
|
||||||
report_scripting_error(&smjs_scripting_module,
|
report_scripting_error(&smjs_scripting_module,
|
||||||
smjs_ses, msg);
|
smjs_ses, msg);
|
||||||
|
@ -10,7 +10,7 @@ struct string;
|
|||||||
extern JSContext *smjs_ctx;
|
extern JSContext *smjs_ctx;
|
||||||
extern struct session *smjs_ses;
|
extern struct session *smjs_ses;
|
||||||
|
|
||||||
void alert_smjs_error(char *msg);
|
void alert_smjs_error(const char *msg);
|
||||||
|
|
||||||
void init_smjs(struct module *module);
|
void init_smjs(struct module *module);
|
||||||
void cleanup_smjs(struct module *module);
|
void cleanup_smjs(struct module *module);
|
||||||
|
Loading…
Reference in New Issue
Block a user