diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 00:42:10 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-28 00:42:10 +0000 |
commit | e7316275263e327b369d836474c8670f5606a5e3 (patch) | |
tree | 7f24bf37048adef260e946c212e293e5a61ad8b1 /README.EXT | |
parent | 7e70b8ac52a8f4939d65cab96a005187a637d9ed (diff) | |
download | ruby-e7316275263e327b369d836474c8670f5606a5e3.tar.gz |
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r-- | README.EXT | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT index 94849cd785..404cea7ca2 100644 --- a/README.EXT +++ b/README.EXT @@ -196,6 +196,9 @@ rb_vsprintf(const char *format, va_list ap) :: Creates a new Ruby string with printf(3) format. + Note: In the format string, %i is used for Object#inspect output (and related + argument must be a VALUE). For integers in format strings, use %d. + rb_str_cat(VALUE str, const char *ptr, long len) :: Appends len bytes of data from ptr to the Ruby string. |