Mercurial > hg > th-libs
comparison th_string.h @ 372:3d32a0c72dc7
Indentation cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 29 Feb 2016 15:26:55 +0200 |
parents | f6b9991d76ed |
children | 22fb23dc8c9b |
comparison
equal
deleted
inserted
replaced
371:bc5567f5e305 | 372:3d32a0c72dc7 |
---|---|
40 #define th_toupper(c) toupper((int)(unsigned char) c) | 40 #define th_toupper(c) toupper((int)(unsigned char) c) |
41 | 41 |
42 | 42 |
43 enum | 43 enum |
44 { | 44 { |
45 TH_TRIM_START = 1, | 45 TH_TRIM_START = 1, |
46 TH_TRIM_END = 2, | 46 TH_TRIM_END = 2, |
47 TH_TRIM_BOTH = 3 | 47 TH_TRIM_BOTH = 3 |
48 }; | 48 }; |
49 | 49 |
50 | 50 |
51 enum | 51 enum |
52 { | 52 { |
53 TH_PF_NONE = 0x0000, | 53 TH_PF_NONE = 0x0000, |
54 TH_PF_ALT = 0x0001, | 54 TH_PF_ALT = 0x0001, |
55 TH_PF_SIGN = 0x0002, | 55 TH_PF_SIGN = 0x0002, |
56 TH_PF_SPACE = 0x0004, | 56 TH_PF_SPACE = 0x0004, |
57 TH_PF_GROUP = 0x0008, | 57 TH_PF_GROUP = 0x0008, |
58 | 58 |
59 TH_PF_ZERO = 0x0100, | 59 TH_PF_ZERO = 0x0100, |
60 TH_PF_LEFT = 0x0200, | 60 TH_PF_LEFT = 0x0200, |
61 | 61 |
62 TH_PF_LONG = 0x1000, | 62 TH_PF_LONG = 0x1000, |
63 TH_PF_LONGLONG = 0x2000, | 63 TH_PF_LONGLONG = 0x2000, |
64 TH_PF_POINTER = 0x4000, | 64 TH_PF_POINTER = 0x4000, |
65 TH_PF_UPCASE = 0x8000, | 65 TH_PF_UPCASE = 0x8000, |
66 }; | 66 }; |
67 | 67 |
68 | 68 |
69 typedef struct | 69 typedef struct |
70 { | 70 { |