Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison utils.c @ 160:d6e6b3940780
Fully implement #line.
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Fri, 27 Feb 2015 02:06:49 +0100 (2015-02-27) |
parents | ed45f2d8d3bc |
children | 4ea0ce804d22 |
comparison
equal
deleted
inserted
replaced
159:8cef6d7227a8 | 160:d6e6b3940780 |
---|---|
42 "0123456789" | 42 "0123456789" |
43 "abcdefghijklmnopqrstuvwxyz" | 43 "abcdefghijklmnopqrstuvwxyz" |
44 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | 44 "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
45 "_" | 45 "_" |
46 ; | 46 ; |
47 const char digits[] = | |
48 "0123456789" | |
49 ; | |
47 | 50 |
48 //////////////////////////////////////////////////////////// | 51 //////////////////////////////////////////////////////////// |
49 // malloc | 52 // malloc |
50 | 53 |
51 #define ROUNDUP(len, size) ((size) * (((len) + (size) - 1) / (size))) | 54 #define ROUNDUP(len, size) ((size) * (((len) + (size) - 1) / (size))) |