[Xapian-devel] C# bindings and string typed return values

Greg freediving at gmail.com
Sat Apr 16 18:05:14 BST 2011


On Fri, Apr 8, 2011 at 6:27 AM, Olly Betts <olly at survex.com> wrote:
> On Tue, Apr 05, 2011 at 05:16:13PM +0200, Greg wrote:
>> Just an update on the issue, I've been able to solve it by adding the
>> needed code from the SWIG generator (the new version) to the current
>> output (XapianPINVOKE.cs). Since Xapian uses own version of SWIG it
>
> Actually, we use svn:externals to pull in a particular revision of the
> SWIG source tree from their repository, but we could make that a local
> copy with patches - we did this on the 1.0 branch to allow us backport
> some fixes.
>
>> might be worth to just update that specific generating template in
>> this case (csharphead.swg); it's a standalone and localized change
>> that will only effect C# (around 3 rows of code) so might be a worthy
>> short term goal.
>
> Glad you've found a good way to resolve this easily.
>
> Could you attach a patch for the change you made to SWIG to the ticket:
>
> http://trac.xapian.org/ticket/538
Sorry it took me so long to reply, anyway I submited a diff file to the ticket.



More information about the Xapian-devel mailing list