This commit is contained in:
Kovid Goyal 2016-11-23 20:32:36 +05:30
parent 2d09a06024
commit 9f6da44ee9

View File

@ -7,6 +7,7 @@
#include "data-types.h" #include "data-types.h"
#include "control-codes.h" #include "control-codes.h"
// utils {{{
static unsigned int pow10[10] = { static unsigned int pow10[10] = {
1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000
}; };
@ -19,6 +20,7 @@ utoi(uint32_t *buf, unsigned int sz) {
} }
return ans; return ans;
} }
// }}}
// Macros {{{ // Macros {{{
#define IS_DIGIT \ #define IS_DIGIT \