summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-03 07:12:37 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-03 07:12:37 (GMT)
commit97c1f8cace94f7445826ffff83dc4df8629fb1d6 (patch)
treec0d9cac7d28148ebd380796db1d21d5299396e66 /README.EXT
parente3787f8b364e1e0b000fc0fd25cf8b6272889c86 (diff)
README.EXT, README.EXT.ja: mention about PRIsVALUE [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.EXT b/README.EXT
index 49de246..c8aafc4 100644
--- a/README.EXT
+++ b/README.EXT
@@ -203,9 +203,10 @@ 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#to_s (or Object#inspect if
- '+' flag is set) output (and related argument must be a VALUE). For integers
- in format strings, use %d.
+ Note: In the format string, "%"PRIsVALUE can be used for Object#to_s
+ (or Object#inspect if '+' flag is set) output (and related argument
+ must be a VALUE). Since it conflicts with "%i", for integers in
+ format strings, use "%d".
rb_str_cat(VALUE str, const char *ptr, long len) ::
@@ -1443,9 +1444,10 @@ void rb_bug(const char *fmt, ...) ::
called under the situation caused by the bug in the interpreter. No
exception handling nor ensure execution will be done.
-Note: In the format string, %i is used for Object#to_s (or Object#inspect if
-'+' flag is set) output (and related argument must be a VALUE). For integers
-in format strings, use %d.
+Note: In the format string, "%"PRIsVALUE can be used for Object#to_s
+(or Object#inspect if '+' flag is set) output (and related argument
+must be a VALUE). Since it conflicts with "%i", for integers in
+format strings, use "%d".
== Initialize and Start the Interpreter