...
This commit is contained in:
parent
2d09a06024
commit
9f6da44ee9
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user