summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-09-14 09:18:34 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:23 +0900
commitb9007244bdca6c0c4e9a80f183d3253d9d0a6b74 (patch)
tree8bcd60ea1bdab09a5e5b53003de7d8f691dafd29 /mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
parent7932523052cd45747f9878cf0b1dc5a899191c79 (diff)
downloadmruby-b9007244bdca6c0c4e9a80f183d3253d9d0a6b74.tar.gz
mruby-b9007244bdca6c0c4e9a80f183d3253d9d0a6b74.zip
Add `const` before `struct mrb_irep` in `mruby-bin-debugger` gem.
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
index 0ca3bc5eb..f55e443fe 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/mrdb.c
@@ -504,7 +504,7 @@ get_and_parse_command(mrb_state *mrb, mrdb_state *mrdb)
}
static int32_t
-check_method_breakpoint(mrb_state *mrb, mrb_irep *irep, const mrb_code *pc, mrb_value *regs)
+check_method_breakpoint(mrb_state *mrb, const mrb_irep *irep, const mrb_code *pc, mrb_value *regs)
{
struct RClass* c;
mrb_sym sym;