summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-06-08 19:17:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:21:08 +0900
commitdaa37be5495393ce3e4654e00e44099f627e6cd4 (patch)
tree9c8159981b3d9a672d8ff98d57eb3cad67e7f70c /include
parentad15e59cd942486d87e2fb38d30993f15dc29433 (diff)
downloadmruby-daa37be5495393ce3e4654e00e44099f627e6cd4.tar.gz
mruby-daa37be5495393ce3e4654e00e44099f627e6cd4.zip
Rename `struct mrb_locals` to `struct mrb_lvinfo`.
That stands for "local variable information".
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 6633bc73e..9d30f2797 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -21,7 +21,7 @@ enum irep_pool_type {
IREP_TT_FLOAT,
};
-struct mrb_locals {
+struct mrb_lvinfo { /* local variable info (name, idx) */
mrb_sym name;
uint16_t r;
};
@@ -37,7 +37,7 @@ typedef struct mrb_irep {
const mrb_sym *syms;
const struct mrb_irep **reps;
- const struct mrb_locals *lv;
+ const struct mrb_lvinfo *lv;
/* debug info */
struct mrb_irep_debug_info* debug_info;