diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-12-25 20:40:38 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-12-25 20:40:38 +0000 |
commit | ca4e5d91a96387bc270692f520b5a30c09856c16 (patch) | |
tree | 3b90d98f59c6d2e48c68aa07c4768d5a3642b0b1 /lib/libpm.c | |
parent | e8724e9798d00fac3326f03ff9fdd616bdc8fce6 (diff) | |
download | netpbm-mirror-ca4e5d91a96387bc270692f520b5a30c09856c16.tar.gz netpbm-mirror-ca4e5d91a96387bc270692f520b5a30c09856c16.tar.xz netpbm-mirror-ca4e5d91a96387bc270692f520b5a30c09856c16.zip |
Update Advanced series to 10.69
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2351 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libpm.c')
-rw-r--r-- | lib/libpm.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index 228f42c6..fa8ae4db 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -278,6 +278,19 @@ pm_error(const char format[], ...) { +bool +pm_have_float_format(void) { +/*---------------------------------------------------------------------------- + Return true iff %f, %e, and %g work in format strings for pm_message, etc. + + Where they don't "work," that means the specifier just appears itself in + the formatted strings, e.g. "the number is g". +-----------------------------------------------------------------------------*/ + return pm_vasprintf_knows_float(); +} + + + static void * mallocz(size_t const size) { |