summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT
index 94849cd..404cea7 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.