2002-04-10 09:09:22 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2019-01-30 17:03:12 +08:00
|
|
|
| Copyright (c) The PHP Group |
|
2002-04-10 09:09:22 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 20:51:34 +08:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2002-04-10 09:09:22 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
2021-05-06 18:16:35 +08:00
|
|
|
| https://www.php.net/license/3_01.txt |
|
2002-04-10 09:09:22 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Author: Marcus Boerger <helly@php.net> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SPPRINTF_H
|
|
|
|
#define SPPRINTF_H
|
|
|
|
|
|
|
|
#include "snprintf.h"
|
2016-12-19 00:53:27 +08:00
|
|
|
#include "zend_smart_str_public.h"
|
|
|
|
#include "zend_smart_string_public.h"
|
2002-04-10 09:09:22 +08:00
|
|
|
|
2002-05-20 09:32:48 +08:00
|
|
|
BEGIN_EXTERN_C()
|
2016-12-19 00:53:27 +08:00
|
|
|
PHPAPI void php_printf_to_smart_string(smart_string *buf, const char *format, va_list ap);
|
|
|
|
PHPAPI void php_printf_to_smart_str(smart_str *buf, const char *format, va_list ap);
|
2002-05-20 09:32:48 +08:00
|
|
|
END_EXTERN_C()
|
2002-04-10 09:09:22 +08:00
|
|
|
|
2016-12-19 00:31:00 +08:00
|
|
|
#define spprintf zend_spprintf
|
|
|
|
#define strpprintf zend_strpprintf
|
2016-12-19 00:53:27 +08:00
|
|
|
#define vspprintf zend_vspprintf
|
|
|
|
#define vstrpprintf zend_vstrpprintf
|
2016-12-19 00:31:00 +08:00
|
|
|
|
2019-02-24 06:39:21 +08:00
|
|
|
#endif /* SPPRINTF_H */
|