summaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
parentd8f48e9782a0d4e70c67f11b83d9976ab279dc51 (diff)
downloadmruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.tar.gz
mruby-0940e4d4629e330818cc9194ac9e584f4a9504e5.zip
rename mrb_ptr_as_string() to mrb_ptr_to_str()
Diffstat (limited to 'include')
-rw-r--r--include/mruby/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h
index df41497ab..4efc3c0ff 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -43,7 +43,7 @@ void mrb_str_decref(mrb_state*, mrb_shared_string*);
mrb_value mrb_str_literal(mrb_state*, mrb_value);
void mrb_str_concat(mrb_state*, mrb_value, mrb_value);
mrb_value mrb_str_plus(mrb_state*, mrb_value, mrb_value);
-mrb_value mrb_ptr_as_string(mrb_state *, void *);
+mrb_value mrb_ptr_to_str(mrb_state *, void *);
mrb_value mrb_obj_as_string(mrb_state *mrb, mrb_value obj);
mrb_value mrb_str_resize(mrb_state *mrb, mrb_value str, int len); /* mrb_str_resize */
mrb_value mrb_string_value(mrb_state *mrb, mrb_value *ptr); /* StringValue */