2018-02-27 10:39:30 +00:00
|
|
|
#if !defined(DUK_MINIMAL_PRINTF_H_INCLUDED)
|
|
|
|
#define DUK_MINIMAL_PRINTF_H_INCLUDED
|
|
|
|
|
|
|
|
#include <stdarg.h> /* va_list etc */
|
|
|
|
#include <stddef.h> /* size_t */
|
|
|
|
|
2019-11-04 10:08:22 +00:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-02-27 10:39:30 +00:00
|
|
|
extern int duk_minimal_sprintf(char *str, const char *format, ...);
|
|
|
|
extern int duk_minimal_snprintf(char *str, size_t size, const char *format, ...);
|
|
|
|
extern int duk_minimal_vsnprintf(char *str, size_t size, const char *format, va_list ap);
|
|
|
|
extern int duk_minimal_sscanf(const char *str, const char *format, ...);
|
|
|
|
|
2019-11-04 10:08:22 +00:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif /* end 'extern "C"' wrapper */
|
|
|
|
|
2018-02-27 10:39:30 +00:00
|
|
|
#endif /* DUK_MINIMAL_PRINTF_H_INCLUDED */
|