From b9007244bdca6c0c4e9a80f183d3253d9d0a6b74 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 14 Sep 2020 09:18:34 +0900 Subject: Add `const` before `struct mrb_irep` in `mruby-bin-debugger` gem. --- mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h') diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h index 7c21de317..0c6505737 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.h @@ -103,8 +103,8 @@ typedef struct mrb_debug_breakpoint { } mrb_debug_breakpoint; typedef struct mrb_debug_context { - struct mrb_irep *root_irep; - struct mrb_irep *irep; + const struct mrb_irep *root_irep; + const struct mrb_irep *irep; const mrb_code *pc; mrb_value *regs; -- cgit v1.2.3