summaryrefslogtreecommitdiffhomepage
path: root/src/variable.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/variable.c
parentd8f48e9782a0d4e70c67f11b83d9976ab279dc51 (diff)
downloadmruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.tar.gz
mruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.zip
rename mrb_ptr_as_string() to mrb_ptr_to_str()
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c
index 3f1424ee5..d470b0327 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -550,7 +550,7 @@ mrb_obj_iv_inspect(mrb_state *mrb, struct RObject *obj)
mrb_str_buf_cat(mrb, str, "-<", 2);
mrb_str_cat2(mrb, str, cn);
mrb_str_cat(mrb, str, ":", 1);
- mrb_str_concat(mrb, str, mrb_ptr_as_string(mrb, obj));
+ mrb_str_concat(mrb, str, mrb_ptr_to_str(mrb, obj));
iv_foreach(mrb, t, inspect_i, &str);
mrb_str_cat(mrb, str, ">", 1);