1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[ruby] const in alert_ruby_error

This commit is contained in:
Witold Filipczyk 2022-01-30 19:27:23 +01:00
parent 0dd77a5d33
commit 06a2c8a167
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ VALUE erb_module;
/* Error reporting. */
void
alert_ruby_error(struct session *ses, char *msg)
alert_ruby_error(struct session *ses, const char *msg)
{
report_scripting_error(&ruby_scripting_module, ses, msg);
}

View File

@ -27,7 +27,7 @@ struct session;
extern VALUE erb_module;
void alert_ruby_error(struct session *ses, char *msg);
void alert_ruby_error(struct session *ses, const char *msg);
void erb_report_error(struct session *ses, int state);
void init_ruby(struct module *module);