bookloupe/counters.h
author ali <ali@juiblex.co.uk>
Sat Sep 21 23:47:52 2013 +0100 (2013-09-21)
changeset 101 7afb1e598abd
child 103 adc06e9e8470
permissions -rw-r--r--
Update documentation for 2.0.51
     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 */