- zend_spprintf() is actually used elsewhere in the engine

This commit is contained in:
Marcus Boerger 2006-05-09 22:09:49 +00:00
parent 2721311863
commit 482d57d5a3
2 changed files with 4 additions and 1 deletions

View File

@ -551,7 +551,7 @@ ZEND_METHOD(exception, getTraceAsString)
}
/* }}} */
static int zend_spprintf(char **message, int max_len, char *format, ...)
int zend_spprintf(char **message, int max_len, char *format, ...)
{
va_list arg;
int len;

View File

@ -48,6 +48,9 @@ extern ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
/* show an exception using zend_error(E_ERROR,...) */
ZEND_API void zend_exception_error(zval *exception TSRMLS_DC);
/* do not export, in php it's available thru spprintf directly */
int zend_spprintf(char **message, int max_len, char *format, ...);
END_EXTERN_C()
#endif