diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-23 21:57:33 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-23 21:57:33 +0900 |
| commit | 0940e4d4629e330818cc9194ac9e584f4a9504e5 (patch) | |
| tree | 45b4d642ac44cb877ea55b310d80cd611ad408c2 /src/class.c | |
| parent | d8f48e9782a0d4e70c67f11b83d9976ab279dc51 (diff) | |
| download | mruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.tar.gz mruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.zip | |
rename mrb_ptr_as_string() to mrb_ptr_to_str()
Diffstat (limited to 'src/class.c')
| -rw-r--r-- | src/class.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class.c b/src/class.c index bdb9e016c..c421376b8 100644 --- a/src/class.c +++ b/src/class.c @@ -1229,7 +1229,7 @@ mrb_class_name(mrb_state *mrb, struct RClass* c) mrb_value path = mrb_class_path(mrb, c); if (mrb_nil_p(path)) { path = mrb_str_new(mrb, "#<Class:", 8); - mrb_str_concat(mrb, path, mrb_ptr_as_string(mrb, c)); + mrb_str_concat(mrb, path, mrb_ptr_to_str(mrb, c)); mrb_str_cat(mrb, path, ">", 1); } return mrb_str_ptr(path)->ptr; @@ -1388,7 +1388,7 @@ mrb_mod_to_s(mrb_state *mrb, mrb_value klass) mrb_str_cat(mrb, str, "#<??????:", 9); break; } - mrb_str_concat(mrb, str, mrb_ptr_as_string(mrb, c)); + mrb_str_concat(mrb, str, mrb_ptr_to_str(mrb, c)); mrb_str_cat(mrb, str, ">", 1); } else { |
