summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index e470e16..f4b3c3e 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -322,8 +322,8 @@ struct rb_iseq_constant_body {
int required_num;
int bits_start;
int rest_start;
- ID *table;
- VALUE *default_values;
+ const ID *table;
+ const VALUE *default_values;
} *keyword;
} param;
@@ -332,7 +332,7 @@ struct rb_iseq_constant_body {
/* insn info, must be freed */
struct iseq_line_info_entry *line_info_table;
- ID *local_table; /* must free */
+ const ID *local_table; /* must free */
/* catch table */
struct iseq_catch_table *catch_table;