diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-08-23 15:04:10 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-08-23 15:06:26 +0900 |
| commit | 53ff8172e549ebd90ca11d0a4f6e6a57bbd2edf9 (patch) | |
| tree | 7cfb7932376c82936eeaf949971b9df11f569bb9 /include | |
| parent | aa099f7f7d1f8c61db936fb7c39a3c734175af16 (diff) | |
| download | mruby-53ff8172e549ebd90ca11d0a4f6e6a57bbd2edf9.tar.gz mruby-53ff8172e549ebd90ca11d0a4f6e6a57bbd2edf9.zip | |
add mrb_string_type().
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h index 903c036f2..6dd667cc4 100644 --- a/include/mruby/string.h +++ b/include/mruby/string.h @@ -41,6 +41,7 @@ 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, mrb_int len); mrb_value mrb_str_substr(mrb_state *mrb, mrb_value str, mrb_int beg, mrb_int len); +mrb_value mrb_string_type(mrb_state *mrb, mrb_value str); mrb_value mrb_check_string_type(mrb_state *mrb, mrb_value str); mrb_value mrb_str_buf_new(mrb_state *mrb, mrb_int capa); mrb_value mrb_str_buf_cat(mrb_state *mrb, mrb_value str, const char *ptr, size_t len); |
