Constify irep members.

- `pool`
- `syms`
- `reps`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-06-05 07:43:40 +09:00
parent 744ba80919
commit 5a3e014e49
21 changed files with 206 additions and 174 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ typedef struct mrb_irep_debug_info {
* get line from irep's debug info and program counter
* @return returns NULL if not found
*/
MRB_API const char *mrb_debug_get_filename(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc);
MRB_API const char *mrb_debug_get_filename(mrb_state *mrb, const mrb_irep *irep, ptrdiff_t pc);
/*
* get line from irep's debug info and program counter