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