summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-23 17:17:21 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:16 +0900
commitce30a4e04b10093b5a394cdb3879d8f6029395f9 (patch)
tree2e5c26b62e2134cd73d1280d8699d43ced545783
parent31877043c4a8b8cfbd37d2bcf39b4360614b82dc (diff)
downloadmruby-ce30a4e04b10093b5a394cdb3879d8f6029395f9.tar.gz
mruby-ce30a4e04b10093b5a394cdb3879d8f6029395f9.zip
Add `const` to `irep` structure to place data on ROM.
-rw-r--r--include/mruby/irep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index ede6780e6..5d860273f 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -53,7 +53,7 @@ typedef struct mrb_irep {
const mrb_code *iseq;
const mrb_pool_value *pool;
const mrb_sym *syms;
- const struct mrb_irep **reps;
+ const struct mrb_irep * const *reps;
const struct mrb_lvinfo *lv;
/* debug info */