summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-30 04:01:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-30 04:01:58 +0000
commitf989f7c7ea89bb0b4a120666f5e85c0a81c9b44c (patch)
tree4103aa778fddb2ac2c431b1c555fe51be7b7fa0c /include
parent4dcc883d06cdc0f933fe83f307c7c6a5c1e41d05 (diff)
* string.c (rb_str_ellipsize): new function to ellipsize a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 1e3a01b549..9b32298bde 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -712,6 +712,7 @@ long rb_str_strlen(VALUE);
VALUE rb_str_length(VALUE);
long rb_str_offset(VALUE, long);
size_t rb_str_capacity(VALUE);
+VALUE rb_str_ellipsize(VALUE, long);
#if defined __GNUC__
#define rb_str_new_cstr(str) __extension__ ( \
{ \