Displaying 1 result from an estimated 1 matches for "mydecider".
Did you mean:
mdecider
2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
I would like to 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_)
:...