Fix build with xapian-core < 1.4.10
[xapian.git] / search-xapian / XS / TradWeight.xs
blob51e20bc128da674767f87c0d46966554250eb3c9
1 MODULE = Search::Xapian         PACKAGE = Search::Xapian::TradWeight
3 PROTOTYPES: ENABLE
5 TradWeight *
6 new1()
7     CODE:
8         RETVAL = new TradWeight();
9     OUTPUT:
10         RETVAL
12 TradWeight *
13 new2(k)
14     double      k
15     CODE:
16         RETVAL = new TradWeight(k);
17     OUTPUT:
18         RETVAL
20 void
21 TradWeight::DESTROY()