By default, the API (defined in the README) is visible out of printf.c (and exposed in printf.h), and auxiliary functions are invisible (static). However, it is conceivable that users of this library may want:
- Everything static - for the case of
#include "printf.c".
- the default described above
- Everything visible (extern) - when writing printf-ish code which can stand to use our innards (for some reason...)
we could support this, e.g. similarly to how nanoprintf does.
By default, the API (defined in the README) is visible out of printf.c (and exposed in printf.h), and auxiliary functions are invisible (static). However, it is conceivable that users of this library may want:
#include "printf.c".we could support this, e.g. similarly to how nanoprintf does.