search for: valuenum

Displaying 1 result from an estimated 1 matches for "valuenum".

Did you mean: valuename
2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
...ght incantation to expose my MatchDecider class. I have a header file declaring my decider, MyDecider.h #ifndef _INC_MYDECIDER_H #define?_INC_MYDECIDER_H #include <xapian/enquire.h> #include <xapian/types.h> class MyDecider : public Xapian::MatchDecider { Xapian::valueno valuenum; bool inclusive; public: MyDecider??(Xapian::valueno slot, bool inclusive_) : valuenum(slot), inclusive(inclusive_) { } bool operator()(const Xapian::Document& doc) const; }; #endif I have a very simple SWIG interface file, MyDecider.i %module mydecider %{ e...