summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-04 22:39:21 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-04 22:39:21 +0900
commite806f55e69e1671743395b10def1a33577e854e6 (patch)
treead4de3ffe71a811d8ae442c6d7c2c70bdc701a41 /include/mruby.h
parent5a6193ffddf6c0d8b3d564a04133d66baf54e511 (diff)
downloadmruby-e806f55e69e1671743395b10def1a33577e854e6.tar.gz
mruby-e806f55e69e1671743395b10def1a33577e854e6.zip
move mrb_str_new prototype to mruby.h
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 6efa54858..b3d1d5fa9 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -342,6 +342,7 @@ void *mrb_realloc(mrb_state*, void*, size_t);
void *mrb_obj_alloc(mrb_state*, enum mrb_vtype, struct RClass*);
void *mrb_free(mrb_state*, void*);
+mrb_value mrb_str_new(mrb_state *mrb, const char *p, size_t len); /* mrb_str_new */
mrb_value mrb_str_new_cstr(mrb_state*, const char*);
mrb_state* mrb_open(void);