bookloupe/counters.h
author ali <ali@juiblex.co.uk>
Sat Sep 21 18:28:40 2013 +0100 (2013-09-21)
changeset 94 3f655b1b0d93
child 103 adc06e9e8470
permissions -rw-r--r--
Fix bug #6: BL treats a slanted apostrophe ? as a word separator, not as a contraction or possessive
     1 #ifndef COUNTERS_H
     2 #define COUNTERS_H
     3 
     4 #include <glib.h>
     5 
     6 struct counters {
     7     GTree *matching;
     8     long quot;
     9     int c_unders;
    10 };
    11 
    12 void increment_matching(struct counters *counters,gunichar ch,gboolean open);
    13 int matching_count(const struct counters *counters,gunichar ch,gboolean open);
    14 int matching_difference(const struct counters *counters,gunichar ch);
    15 void counters_destroy(struct counters *counters);
    16 
    17 #endif /* COUNTERS_H */