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:
parent
0dd77a5d33
commit
06a2c8a167
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user