comparison th_string.h @ 299:0311f139fcf6

Refactor how various printf modifier flags etc. are handled. Still needs work and refining.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 22 Feb 2016 18:31:11 +0200
parents 15e2ee6c7bfc
children 2c87abec62db
comparison
equal deleted inserted replaced
298:86fe17a2ed81 299:0311f139fcf6
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 };
49
50
51 enum
52 {
53 TH_PF_NONE = 0x00,
54 TH_PF_ALT = 0x01,
55 TH_PF_SIGN = 0x02,
56 TH_PF_SPACE = 0x04,
57 TH_PF_GROUP = 0x08,
58
59 TH_PF_ZERO = 0x10,
60 TH_PF_LEFT = 0x20,
48 }; 61 };
49 62
50 63
51 typedef struct 64 typedef struct
52 { 65 {