Fix build with xapian-core < 1.4.10
[xapian.git] / search-xapian / XS / ESet.xs
blob8b76f85def5e2995b0bdab368984c572f53ceba0
1 MODULE = Search::Xapian         PACKAGE = Search::Xapian::ESet
3 PROTOTYPES: ENABLE
5 ESet *
6 new1()
7     CODE:
8         RETVAL = new ESet();
9     OUTPUT:
10         RETVAL
12 ESet *
13 new2(other)
14     ESet *      other
15     CODE:
16         RETVAL = new ESet(*other);
17     OUTPUT:
18         RETVAL
21 termcount
22 ESet::get_ebound()
24 termcount
25 ESet::size()
26     ALIAS:
27         Search::Xapian::ESet::FETCHSIZE = 1
29 bool
30 ESet::empty()
32 ESetIterator *
33 ESet::begin()
34     CODE:
35         RETVAL = new ESetIterator(THIS->begin());
36     OUTPUT:
37         RETVAL
39 ESetIterator *
40 ESet::end()
41     CODE:
42         RETVAL = new ESetIterator(THIS->end());
43     OUTPUT:
44         RETVAL
46 ESetIterator *
47 ESet::back()
48     CODE:
49         RETVAL = new ESetIterator(THIS->back());
50     OUTPUT:
51         RETVAL
53 ESetIterator *
54 ESet::FETCH(doccount i)
55     CODE:
56         RETVAL = new ESetIterator((*THIS)[i]);
57     OUTPUT:
58         RETVAL
60 string
61 ESet::get_description()
63 void
64 ESet::DESTROY()