SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
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
26
extern
"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
55
unsigned
xvformat
(
void
(*outchar)(
void
*arg,
char
),
void
*arg,
const
char
*fmt,
va_list
args
);
56
67
unsigned
xformat
(
void
(*outchar)(
void
*arg,
char
),
void
*arg,
const
char
*fmt, ...);
68
69
#ifdef __cplusplus
70
}
71
#endif
// __cplusplus
72
73
#endif
va_list
__builtin_va_list va_list
Definition
stdarg.h:4
xformat
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...
xvformat
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'.
args
#define args
string.h
Generated by
1.9.8