| author | ali <ali@juiblex.co.uk> |
| Tue Sep 24 07:22:18 2013 +0100 (2013-09-24) | |
| changeset 109 | f39394c9d41f |
| parent 94 | 3f655b1b0d93 |
| child 111 | f805130deb6f |
| child 123 | ddb5ddba6ef3 |
| permissions | -rw-r--r-- |
1 #ifndef COUNTERS_H
2 #define COUNTERS_H
4 #include <glib.h>
6 /* Special counters live in the private use area */
7 enum {
8 COUNTER_ILLUSTRATION=0xE000,
9 NO_SPECIAL_COUNTERS
10 };
12 struct counters {
13 GTree *matching;
14 long quot;
15 int c_unders;
16 };
18 void increment_matching(struct counters *counters,gunichar ch,gboolean open);
19 int matching_count(const struct counters *counters,gunichar ch,gboolean open);
20 int matching_difference(const struct counters *counters,gunichar ch);
21 void counters_reset(struct counters *counters);
22 void counters_destroy(struct counters *counters);
24 #endif /* COUNTERS_H */