diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-25 09:47:36 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-25 09:47:36 +0900 |
| commit | 30d580ecbc51852b26ada48eac5e597b1210815b (patch) | |
| tree | 99441519c0849db2b89f824c58a5092438e2ea50 /src/state.c | |
| parent | 5c88c65a11287aa52bc0a606ce96a316036aa94c (diff) | |
| download | mruby-30d580ecbc51852b26ada48eac5e597b1210815b.tar.gz mruby-30d580ecbc51852b26ada48eac5e597b1210815b.zip | |
rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c index adc7da06b..9bf051c1a 100644 --- a/src/state.c +++ b/src/state.c @@ -169,8 +169,8 @@ mrb_top_self(mrb_state *mrb) { if (!mrb->top_self) { mrb->top_self = (struct RObject*)mrb_obj_alloc(mrb, MRB_TT_OBJECT, mrb->object_class); - mrb_define_singleton_method(mrb, mrb->top_self, "inspect", inspect_main, ARGS_NONE()); - mrb_define_singleton_method(mrb, mrb->top_self, "to_s", inspect_main, ARGS_NONE()); + mrb_define_singleton_method(mrb, mrb->top_self, "inspect", inspect_main, MRB_ARGS_NONE()); + mrb_define_singleton_method(mrb, mrb->top_self, "to_s", inspect_main, MRB_ARGS_NONE()); } return mrb_obj_value(mrb->top_self); } |
