diff options
Diffstat (limited to 'Zend/zend_smart_str.c')
-rw-r--r-- | Zend/zend_smart_str.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Zend/zend_smart_str.c b/Zend/zend_smart_str.c index 563912c8fd..e9d43854b3 100644 --- a/Zend/zend_smart_str.c +++ b/Zend/zend_smart_str.c @@ -117,3 +117,20 @@ ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char } } } + +ZEND_API void ZEND_FASTCALL smart_str_append_printf(smart_str *dest, const char *format, ...) { + va_list arg; + va_start(arg, format); + zend_printf_to_smart_str(dest, format, arg); + va_end(arg); +} + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + * vim600: sw=4 ts=4 fdm=marker + * vim<600: sw=4 ts=4 + */ |