Fix build with xapian-core < 1.4.10
[xapian.git] / search-xapian / XS / ESetIterator.xs
blob0fce8c918d2373b7b9f19246b28a43421d5d6873
1 MODULE = Search::Xapian         PACKAGE = Search::Xapian::ESetIterator
3 PROTOTYPES: ENABLE
5 ESetIterator *
6 new1()
7     CODE:
8         RETVAL = new ESetIterator();
9     OUTPUT:
10         RETVAL
12 ESetIterator *
13 new2(other)
14     ESetIterator *      other
15     CODE:
16         RETVAL = new ESetIterator(* other);
17     OUTPUT:
18         RETVAL
20 void
21 ESetIterator::inc()
22     CODE:
23         ++(*THIS);
25 void
26 ESetIterator::dec()
27     CODE:
28         --(*THIS);
30 bool
31 ESetIterator::equal(ESetIterator * that)
32     CODE:
33         RETVAL = ((*THIS) == (*that));
34     OUTPUT:
35         RETVAL
37 bool
38 ESetIterator::nequal(ESetIterator * that)
39     CODE:
40         RETVAL = ((*THIS) != (*that));
41     OUTPUT:
42         RETVAL
44 string
45 ESetIterator::get_termname()
46     CODE:
47         RETVAL = THIS->operator*();
48     OUTPUT:
49         RETVAL
51 double
52 ESetIterator::get_weight()
54 string
55 ESetIterator::get_description()
57 void
58 ESetIterator::DESTROY()