SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
xformat.h
Go to the documentation of this file.
1
19#ifndef __XFORMAT_H__
20#define __XFORMAT_H__
21
22#include <stdarg.h>
23#include <string.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif// __cplusplus
28
33#define XCFG_FORMAT_STATIC
34
38#define XCFG_FORMAT_FLOAT 1
39
43#define XCFG_FORMAT_LONGLONG 1
44
55unsigned xvformat(void (*outchar)(void *arg, char), void *arg, const char *fmt, va_list args);
56
67unsigned xformat(void (*outchar)(void *arg, char), void *arg, const char *fmt, ...);
68
69#ifdef __cplusplus
70}
71#endif// __cplusplus
72
73#endif
__builtin_va_list va_list
Definition stdarg.h:4
unsigned xformat(void(*outchar)(void *arg, char), void *arg, const char *fmt,...)
Formats and outputs a string according to a format string 'fmt' and an arbitrary number of variable a...
unsigned xvformat(void(*outchar)(void *arg, char), void *arg, const char *fmt, va_list args)
Formats and outputs a string according to a format string 'fmt' and a variable argument list 'args'.
#define args