[Xapian-discuss] German Danish Russian

win 32 win32ster at gmail.com
Wed Sep 2 12:45:10 BST 2009


I mean I've worked the solution out for me but it would be good to integrate
it into Xapian distribution. It is necessary to modify XapianPINVOKE.cs
(to add the UTF8StringMarshaler marshaller code and corresponding
marshalling attributes to import declarations). I open XapianPINVOKE.cs and
a comment states
/*
----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.32
 *
 * Do not make changes to this file unless you know what you are
doing--modify
 * the SWIG interface file instead.
 *
-----------------------------------------------------------------------------
*/

Well I know what I'm doing still I'm afraid that the changes will get
overwritten with the next Xapian build or something. And maybe it is easier
to modify all the imports in some one interface file.
Thank you for the replies that kept me searching Xapian sources

Regards,
Vasilij

> Maybe sombody custom with SWIG can create interface file for windows .net
> > using my marshaler code and the stated declaration attributes to generate
> > proper XapianPINVOKE.cs? I just get a bit lost in the heap of files
> although
> > will keep searching.
>
> I'm afraid I don't know a lot about C# or SWIG's support for it, but the
> SWIG C# docs talk about marshalling so maybe they help:
>
> http://www.swig.org/Doc1.3/CSharp.html
>
>


More information about the Xapian-discuss mailing list