pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2013-05-07
2013-05-07 12:03:00 by Martin Nilsson <nilsson@opera.com>
73c7ca9fbd29ce084b967e12d7ca83887f3e1559 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Fix the type of String.Buffer->sprintf.
2626:
string_builder_putchar(&str->str, c); }
-
/*! @decl int sprintf(
mixed
...
arguments
)
+
/*! @decl int sprintf(
strict_sprintf_format
format, sprintf_args
...
args
)
*! Appends the output from @[sprintf] at the end of the string.
-
+
*! Returns the resulting size of the String.Buffer.
*/ PIKEFUN int sprintf(mixed ... arguments)
-
+
rawtype tFuncV(tAttr("strict_sprintf_format", tOr(tStr, tObj)),
+
tAttr("sprintf_args", tMix), tStr);
+
{ // FIXME: Reset length on exception? struct Buffer_struct *str = THIS;