diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-20 06:09:31 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-20 06:09:31 -0700 |
| commit | ac31b58fe85363e6848cbbbdb6125cce1a2f6152 (patch) | |
| tree | 7dbd5269aa3694ae69da7774a9be5cbd0aef09eb /src/class.c | |
| parent | 89865740e4bc7f496d1abb306cb8d8d5effefa39 (diff) | |
| parent | 606a1665c5cfff42622687d693b9362b6c1b663a (diff) | |
| download | mruby-ac31b58fe85363e6848cbbbdb6125cce1a2f6152.tar.gz mruby-ac31b58fe85363e6848cbbbdb6125cce1a2f6152.zip | |
Merge pull request #169 from mitchblank/cplusplus
Part 1 of C++ compilability
Diffstat (limited to 'src/class.c')
| -rw-r--r-- | src/class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class.c b/src/class.c index ee8cb8f48..eda3f87a0 100644 --- a/src/class.c +++ b/src/class.c @@ -1003,10 +1003,10 @@ mrb_value mrb_mod_alias(mrb_state *mrb, mrb_value mod) { struct RClass *c = mrb_class_ptr(mod); - mrb_value new, old; + mrb_value new_value, old_value; - mrb_get_args(mrb, "oo", &new, &old); - mrb_alias_method(mrb, c, mrb_symbol(new), mrb_symbol(old)); + mrb_get_args(mrb, "oo", &new_value, &old_value); + mrb_alias_method(mrb, c, mrb_symbol(new_value), mrb_symbol(old_value)); return mrb_nil_value(); } |
