summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-21 04:55:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-21 04:55:40 +0000
commit2e26813c7453bd8e06f4a15a246646d3e5d51d8a (patch)
treefe63d30a80b025d0b8838bc105471fa9f318502e
parent2af70a72975bd636476310f932275c7776da3c2a (diff)
downloadruby-2e26813c7453bd8e06f4a15a246646d3e5d51d8a.tar.gz
ruby-2e26813c7453bd8e06f4a15a246646d3e5d51d8a.tar.xz
ruby-2e26813c7453bd8e06f4a15a246646d3e5d51d8a.zip
* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentioned
rb_sprintf and rb_vsprintf. [ruby-dev:35611] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--README.EXT5
-rw-r--r--README.EXT.ja5
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d35baf50..b6ebb22a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 21 13:55:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentioned
+ rb_sprintf and rb_vsprintf. [ruby-dev:35611]
+
Mon Jul 21 10:25:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (prepare_getline_args): check if rs is a string when non-nil
diff --git a/README.EXT b/README.EXT
index 509bffba3..b41e6a426 100644
--- a/README.EXT
+++ b/README.EXT
@@ -189,6 +189,11 @@ listed below:
Appends len bytes of data from ptr to the Ruby string.
+ rb_sprintf(const char *format, ...)
+ rb_vsprintf(const char *format, ...)
+
+ Creates a new Ruby string with printf(3) format.
+
Array functions
rb_ary_new()
diff --git a/README.EXT.ja b/README.EXT.ja
index 23bf77474..0205254ad 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -216,6 +216,11 @@ Rubyが用意している関数を用いてください.
Rubyの文字列strにlenバイトの文字列ptrを追加する.
+ rb_sprintf(const char *format, ...)
+ rb_vsprintf(const char *format, ...)
+
+ printf(3)のフォーマットにしたがって,Rubyの文字列を生成する.
+
配列に対する関数
rb_ary_new()