summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index a315f51..3345607 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -302,7 +302,7 @@ struct rb_iseq_constant_body {
int post_num;
int block_start;
- VALUE *opt_table; /* (opt_num + 1) entries. */
+ const VALUE *opt_table; /* (opt_num + 1) entries. */
/* opt_num and opt_table:
*
* def foo o1=e1, o2=e2, ..., oN=eN
@@ -317,7 +317,7 @@ struct rb_iseq_constant_body {
* opt_table = [A1, A2, ..., AN, AL]
*/
- struct rb_iseq_param_keyword {
+ const struct rb_iseq_param_keyword {
int num;
int required_num;
int bits_start;