[Xapian-discuss] Accessing Query::Internal from SWIG

James Aylett james-xapian at tartarus.org
Thu Mar 30 11:50:59 BST 2006


On Wed, Mar 29, 2006 at 10:56:44PM -0800, Philip Neustrom wrote:

> I'm trying to access the unserialise() method of
> Xapian::Query::Internal from Python.  Is there any way to do this?  I
> tried playing with the xapian.i file but I can't figure out how I can
> make swig generate new makefiles/etc to compile and link properly with
> xapian.

Internal classes don't get wrapped, but I can see why this would be
useful. We'd need to have serialise()/unserialise() on Xapian::Query
itself and wrap that - thoughts, Olly?

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list