From 4fd4fa7dcaf2ac78407da4cefac6a2fe759541bf Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 2 Jul 2015 17:50:09 -0400 Subject: [PATCH] [fix] moving int string size constants to string_utils.h --- src/numex.c | 2 -- src/string_utils.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/numex.c b/src/numex.c index 1004794e..354f79d7 100644 --- a/src/numex.c +++ b/src/numex.c @@ -8,8 +8,6 @@ #define SEPARATOR_TOKENS "-" -#define INT64_MAX_STRING_SIZE 21 - #define FLOOR_LOG_BASE(num, base) floor((log((float)num) / log((float)base)) + 0.00001) numex_table_t *numex_table = NULL; diff --git a/src/string_utils.h b/src/string_utils.h index bcf1ccec..1e38bc1d 100644 --- a/src/string_utils.h +++ b/src/string_utils.h @@ -15,6 +15,8 @@ extern "C" { #define MAX_UTF8_CHAR_SIZE 4 +#define INT32_MAX_STRING_SIZE 11 +#define INT64_MAX_STRING_SIZE 21 #define UTF8PROC_OPTIONS_BASE UTF8PROC_NULLTERM | UTF8PROC_STABLE