From f989f7c7ea89bb0b4a120666f5e85c0a81c9b44c Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 30 Jan 2011 04:01:58 +0000 Subject: * 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 --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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__ ( \ { \ -- cgit v1.2.3