search for: _inc_mydecider_h

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

2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
...o write a MatchDecider in C++ and expose it to PHP. I'm able to compile a simple extension and use SWIG to expose a simple function to PHP, but I can't seem to hit upon the right 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(in...