mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[scripting] cosnt in report_scripting_error
This commit is contained in:
parent
32dd119820
commit
21f0b54eb3
@ -38,7 +38,7 @@ PyObject *python_hooks = NULL;
|
||||
void
|
||||
alert_python_error(void)
|
||||
{
|
||||
char *msg = "(no traceback available)";
|
||||
const char *msg = "(no traceback available)";
|
||||
PyObject *err_type = NULL, *err_value = NULL, *err_traceback = NULL;
|
||||
PyObject *tb_module = NULL;
|
||||
PyObject *msg_list = NULL;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#if defined(CONFIG_SCRIPTING_RUBY) || defined(CONFIG_SCRIPTING_SPIDERMONKEY) || defined(CONFIG_SCRIPTING_PYTHON)
|
||||
void
|
||||
report_scripting_error(struct module *module, struct session *ses,
|
||||
char *msg)
|
||||
const char *msg)
|
||||
{
|
||||
struct terminal *term;
|
||||
struct string string;
|
||||
|
@ -12,7 +12,7 @@ struct session;
|
||||
|
||||
void
|
||||
report_scripting_error(struct module *module, struct session *ses,
|
||||
char *msg);
|
||||
const char *msg);
|
||||
|
||||
extern struct module scripting_module;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user