summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-03-23 21:57:33 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-03-23 21:57:33 +0900
commit0940e4d4629e330818cc9194ac9e584f4a9504e5 (patch)
tree45b4d642ac44cb877ea55b310d80cd611ad408c2 /src/object.c
parentd8f48e9782a0d4e70c67f11b83d9976ab279dc51 (diff)
downloadmruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.tar.gz
mruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.zip
rename mrb_ptr_as_string() to mrb_ptr_to_str()
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.c b/src/object.c
index bf0956acd..5cf165000 100644
--- a/src/object.c
+++ b/src/object.c
@@ -444,7 +444,7 @@ mrb_any_to_s(mrb_state *mrb, mrb_value obj)
mrb_str_buf_cat(mrb, str, "#<", 2);
mrb_str_cat2(mrb, str, cname);
- mrb_str_concat(mrb, str, mrb_ptr_as_string(mrb, mrb_voidp(obj)));
+ mrb_str_concat(mrb, str, mrb_ptr_to_str(mrb, mrb_voidp(obj)));
mrb_str_buf_cat(mrb, str, ">", 1);
return str;