[Xapian-devel] GSoC 2011 - Improve Existing Bindings

James Aylett james-xapian at tartarus.org
Mon Mar 21 16:55:13 GMT 2011


On 21 Mar 2011, at 14:51, Olly Betts wrote:

>> (in a subdirectory; there are two main files, util.i and
>> extra.i; generally speaking util.i is for SWIG "typemaps", which
>> convert arguments between the target language and C++, while extra.i
>> is currently only used by the python bindings to inject additional
>> python code, mostly to provide more idiomatic iterators).
> 
> I think the main reason for the two is that we need to include them at
> different points in the interface file, but it has been a while since
> I worked on the overall structure.

I'm pretty sure I introduced that split, and that's certainly the reason I remember.

> If the scope of improving the C# bindings seems too narrow to keep you
> busy for the Summer, you could usefully look at Java too, if you're also
> familiar with that.  SWIG's support for C# and Java works in very
> similar ways (they were written and are maintained by the same person)
> so quite a lot would be in common.


Getting the SWIG Java bindings finished would be awesome.

J

-- 
 James Aylett
 talktorex.co.uk - xapian.org - devfort.com




More information about the Xapian-devel mailing list