diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-08 15:12:42 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:34 +0900 |
| commit | 500f721f7080e79c2e41e306cc1d94471c10f173 (patch) | |
| tree | b86c37fc3ef84a6710e786807ca6b993b74987a3 /include | |
| parent | cb89e1f0d9d9f05e53705d228b69decbc428a650 (diff) | |
| download | mruby-500f721f7080e79c2e41e306cc1d94471c10f173.tar.gz mruby-500f721f7080e79c2e41e306cc1d94471c10f173.zip | |
Fix typo `_hander` -> `_handler`.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/irep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h index 430602279..b800403ce 100644 --- a/include/mruby/irep.h +++ b/include/mruby/irep.h @@ -44,7 +44,7 @@ enum mrb_catch_type { MRB_CATCH_ENSURE = 1, }; -struct mrb_irep_catch_hander { +struct mrb_irep_catch_handler { uint8_t type; /* enum mrb_catch_type */ uint8_t begin[2]; /* The starting address to match the hander. Includes this. */ uint8_t end[2]; /* The endpoint address that matches the hander. Not Includes this. */ @@ -125,14 +125,14 @@ struct mrb_insn_data { struct mrb_insn_data mrb_decode_insn(const mrb_code *pc); -static inline const struct mrb_irep_catch_hander * +static inline const struct mrb_irep_catch_handler * mrb_irep_catch_handler_table(const struct mrb_irep *irep) { if (irep->clen > 0) { - return (const struct mrb_irep_catch_hander *)(irep->iseq + irep->ilen); + return (const struct mrb_irep_catch_handler*)(irep->iseq + irep->ilen); } else { - return (const struct mrb_irep_catch_hander *)NULL; + return (const struct mrb_irep_catch_handler*)NULL; } } |
