mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[ruby] const in erb_protected_method_call
This commit is contained in:
parent
06a2c8a167
commit
53afb21279
@ -25,7 +25,7 @@
|
||||
/* We need to catch and handle errors because, otherwise, Ruby will kill us. */
|
||||
|
||||
struct erb_protect_info {
|
||||
char *name;
|
||||
const char *name;
|
||||
int argc;
|
||||
VALUE *args;
|
||||
};
|
||||
@ -44,7 +44,7 @@ do_erb_protected_method_call(VALUE data)
|
||||
}
|
||||
|
||||
static VALUE
|
||||
erb_protected_method_call(char *name, int argc, VALUE *args, int *error)
|
||||
erb_protected_method_call(const char *name, int argc, VALUE *args, int *error)
|
||||
{
|
||||
struct erb_protect_info info = { name, argc, args };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user