diff options
Diffstat (limited to 'fpconv.h')
-rw-r--r-- | fpconv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fpconv.h b/fpconv.h new file mode 100644 index 0000000..b8a6469 --- /dev/null +++ b/fpconv.h | |||
@@ -0,0 +1,11 @@ | |||
1 | /* Lua CJSON floating point conversion routines */ | ||
2 | |||
3 | /* Buffer larger than required to store the largest %.14g number */ | ||
4 | # define FPCONV_G_FMT_BUFSIZE 32 | ||
5 | |||
6 | extern void fpconv_update_locale(); | ||
7 | extern int fpconv_g_fmt(char*, double, int); | ||
8 | extern double fpconv_strtod(const char*, char**); | ||
9 | |||
10 | /* vi:ai et sw=4 ts=4: | ||
11 | */ | ||