mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Fastcall calling convention is not comaptible with variable number of arguments
This commit is contained in:
parent
531de5f24a
commit
180bf90ded
@ -114,7 +114,7 @@ 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, ...) {
|
||||
ZEND_API void 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);
|
||||
|
@ -49,7 +49,7 @@ BEGIN_EXTERN_C()
|
||||
ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len);
|
||||
ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len);
|
||||
ZEND_API void ZEND_FASTCALL smart_str_append_escaped(smart_str *str, const char *s, size_t l);
|
||||
ZEND_API void ZEND_FASTCALL smart_str_append_printf(smart_str *dest, const char *format, ...)
|
||||
ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...)
|
||||
ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
|
||||
|
||||
END_EXTERN_C()
|
||||
|
Loading…
Reference in New Issue
Block a user