[Xapian-devel] C# bindings and string typed return values
Olly Betts
olly at survex.com
Fri Apr 8 05:27:18 BST 2011
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
Cheers,
Olly
More information about the Xapian-devel
mailing list