diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 10:52:17 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 10:52:17 +0000 |
commit | e926ef5233cc9f1035d3d51068abe9df8b5429da (patch) | |
tree | bad49abdc709d3d53e01ea86153bd1bd05cfcf15 /string.c | |
parent | 68cab8a24bcc81494ffc6335056097731a27dcde (diff) |
* random.c (rb_genrand_int32, rb_genrand_real), intern.h: Export.
* string.c (rb_str_tmp_new), intern.h: New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -251,6 +251,13 @@ rb_str_buf_new2(ptr) } VALUE +rb_str_tmp_new(len) + long len; +{ + return str_new(0, 0, len); +} + +VALUE rb_str_to_str(str) VALUE str; { |