mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Constify irep members.
- `pool` - `syms` - `reps`
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ select_line_type(const uint16_t *lines, size_t lines_len)
|
||||
}
|
||||
|
||||
MRB_API char const*
|
||||
mrb_debug_get_filename(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc)
|
||||
mrb_debug_get_filename(mrb_state *mrb, const mrb_irep *irep, ptrdiff_t pc)
|
||||
{
|
||||
if (irep && pc >= 0 && pc < irep->ilen) {
|
||||
mrb_irep_debug_info_file* f = NULL;
|
||||
|
||||
Reference in New Issue
Block a user