Fix bug #36: Document workaround to prevent Guiguts conversion of utf-8 files passed to Bookloupe
6 #define COUNTERS_ERROR counters_error_quark()
10 COUNTERS_ERROR_FAILED, /* Generic failure */
13 /* Special counters live in the private use area */
15 COUNTER_ILLUSTRATION=0xE000,
26 #define QUOTE_CLASS(c) \
27 (((c)==CHAR_RD_QUOTE || (c)==CHAR_RS_QUOTE)?CLOSING_QUOTE: \
28 ((c)==CHAR_LD_QUOTE || (c)==CHAR_LS_QUOTE || (c)==CHAR_OPEN_SQUOTE)?\
29 OPENING_QUOTE:((c)==CHAR_DQUOTE || (c)==CHAR_SQUOTE)?NEUTRAL_QUOTE:\
38 GQuark counters_error_quark(void);
39 gboolean innermost_quote_matches(struct counters *counters,gunichar ch);
40 gboolean count_quote(struct counters *counters,gunichar ch,QuoteClass klass,
42 void increment_matching(struct counters *counters,gunichar ch,gboolean open);
43 int matching_count(const struct counters *counters,gunichar ch,gboolean open);
44 int matching_difference(const struct counters *counters,gunichar ch);
45 void counters_reset(struct counters *counters);
46 void counters_destroy(struct counters *counters);
48 #endif /* COUNTERS_H */