Format specifier¶
Overview¶
Format specifier is a single segment parsed from the format string. More…
// typedefs typedef char fmt_char; typedef struct fmt_spec fmt_spec; // structs struct fmt_spec; // macros #define FMT_CHAR_CONV(__chr) #define FMT_CHAR_TYPE #define FMT_CHAR_TYPE_DEFAULT #define FMT_VALUE_NOT_DEFINED #define FMT_VALUE_OUT_OF_LINE
Detailed Documentation¶
Format specifier is a single segment parsed from the format string. There may be many of them. They should be read using fmt_read_one()
.
Typedefs¶
typedef char fmt_char
The default char type used in the parser
typedef struct fmt_spec fmt_spec
Format specifier segment. It may mean a string or a %-something mask
Macros¶
#define FMT_CHAR_CONV(__chr)
Converter from regular char to used-defined type
#define FMT_CHAR_TYPE
Externally-defined char type
#define FMT_VALUE_NOT_DEFINED
The value is defined out of line as a separate parameter
#define FMT_VALUE_OUT_OF_LINE
The value is defined out of line as a separate parameter