[Xapian-devel] More weirdness with PHP bindings

James Aylett james-xapian at tartarus.org
Tue Apr 3 15:39:29 BST 2007

On Tue, Apr 03, 2007 at 03:22:14PM +0100, Charlie Hull wrote:

> So the bug only concerns the way get_matching_terms is wrapped (and
> only appears under windows)... strange.
> Anyway, I thought it might be worth raising in case anyone with a better 
> knowledge of PHP might have a brainwave!

get_matching_terms() isn't wrapped - it's a synthetic method generated
only in the SWIG layer. Note that it relies on a typemap to convert
std::pair<> into a list in the target language, which is done at the
bottom of php/util.i - I'm wondering if there's a Windows-specific bug
in that in some way? I don't know the PHP internals enough to know for
sure, and I'm a little short on time right now or I'd prod further myself...


  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org

More information about the Xapian-devel mailing list