embtextf  20130407
Embedded System Text Formatting
 All Files Functions Typedefs Macros Pages
Macros
config.h File Reference

Build-time configuration options. More...

Go to the source code of this file.

Macros

#define EMBTEXTF_PROVIDE_LIBC   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_INTPTR   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_LONG   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_LONGLONG   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_PRECISION   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_OCTAL   1
 
#define EMBTEXTF_ENABLE_VUPRINTF_ALTERNATE_FORM   1
 

Detailed Description

Build-time configuration options.

This header defines the configuration options that control feature availability. The values for these flags are set when the header is created by running ./configure; see Installation and Use. Be aware that the values in generated documentation may not match the values in the installed header.

Homepage
http://github.com/pabigot/embtextf

Macro Definition Documentation

#define EMBTEXTF_ENABLE_VUPRINTF_ALTERNATE_FORM   1

Set to a preprocessor true value to allow the # alternate form flag to be recognized for x and o conversions. If false, the alternate form flag will be unrecognized and its containing conversion specification passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-alternate-form.

#define EMBTEXTF_ENABLE_VUPRINTF_INTPTR   1

Set to a preprocessor true value to allow the p conversion specification to support printing pointer values. If false, the conversion specification will be passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-intptr.

#define EMBTEXTF_ENABLE_VUPRINTF_LONG   1

Set to a preprocessor true value to allow the l length modifier to be recognized supporting long integer parameters. If false, the l length modifier will be unrecognized and its containing conversion specification passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-long.

#define EMBTEXTF_ENABLE_VUPRINTF_LONGLONG   1

Set to a preprocessor true value to allow two l length modifiers to be recognized for a long long integer parameter. If false, the second l length modifier will be unrecognized and its containing conversion specification passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-longlong.

Note
Use of this option requires use of EMBTEXTF_ENABLE_VUPRINTF_LONG.
#define EMBTEXTF_ENABLE_VUPRINTF_OCTAL   1

Set to a preprocessor true value to allow the o conversion specifier to be recognized. If false, an octal conversion specifier will be unrecognized and passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-octal.

#define EMBTEXTF_ENABLE_VUPRINTF_PRECISION   1

Set to a preprocessor true value to allow precision to be recognized in conversion specifications. If false, a precision specification will be unrecognized and its containing conversion specification passed through as text.

This feature is controlled at configuration time by –enable-vuprintf-precision.

#define EMBTEXTF_PROVIDE_LIBC   1

Set to a preprocessor true value when embtextf's library should provide implementations for standard libc functions related to its domain. If false, these implementations are not present.

Note
Because these functions intrude on the C compiler's namespace, they are not part of the standard embtextf library. To use them in your program you must also link in libembtextf-libc.a (normally done by adding -lembtextf-libc before -lembtextf when linking).

This feature is controlled at configuration time by –enable-provide-libc.

See Also
<embtextf/stdio.h>, <embtextf/stdarg.h>