Add `const` modifier to `table` in `mrb_kwargs`; #5084

The fix was proposed by @dearblue
parent 618c5891
......@@ -956,7 +956,7 @@ struct mrb_kwargs
{
uint32_t num; /* number of keyword arguments */
uint32_t required; /* number of required keyword arguments */
mrb_sym *table; /* C array of symbols for keyword names */
const mrb_sym *table; /* C array of symbols for keyword names */
mrb_value *values; /* keyword argument values */
mrb_value *rest; /* keyword rest (dict) */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment