summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-03-23 21:53:49 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-03-23 21:53:49 +0900
commitd8f48e9782a0d4e70c67f11b83d9976ab279dc51 (patch)
tree92381b9941e17b559a20b4d090b687321f8cb406 /include
parent8ae2c2498ebbd7966c4f2ff5cb7c2bd52d3bf941 (diff)
parentbdd8f7b4a7321675d72322f518e8252e0f7422ef (diff)
downloadmruby-d8f48e9782a0d4e70c67f11b83d9976ab279dc51.tar.gz
mruby-d8f48e9782a0d4e70c67f11b83d9976ab279dc51.zip
Merge branch 'pr-add-mrb_ptr_as_string' of https://github.com/monaka/mruby into monaka-pr-add-mrb_ptr_as_string
Diffstat (limited to 'include')
-rw-r--r--include/mruby/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h
index 3dc4094aa..df41497ab 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -43,6 +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_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 */