[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: C# SWIG Bindings

From: Denis Gervalle <dgl_at_softec.st>
Date: 2004-10-14 00:33:11 CEST

Matthew,

We have tryied using SWIG to bind the subversion client API with C#, but
all our efforts were unsucessful. This was mostly due to some unions and
special structures frequently used by subversion and also to the
frequent callbacks required.

Finally, we have manually written a C# front-end interface to the
Subversion Client API using Interop. You could find the result of this
effort at:

http://www.softec.st/SubversionSharp

We have focused our effort in minimizing interop overhead as much as
possible using what I call a "late marshaling" technique. Comments are
welcome.
Currently, these bindings work well for us under Linux using Mono. It
should work also under Windows if you manage to compile a DLL version of
the Subversion Client API. We have not try that however.
Documentations has to be written, but we have no time for that right
now. There is an under development client sample that could help in the
meantime. This client is clone of the subversion command line client.

Regards,

Denis

Matthew Metnetsky wrote:

>I was wondering if there was any effort (or interest) in C# SWIG
>bindings? And if not, would anyone mind such bindings as I'm definitely
>going to need them.
>
>~ Matthew
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>

-- 
Denis Gervalle    
SOFTEC sa
http://www.softec.st
(GPG:0x0C31F803)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 14 00:33:25 2004

This is an archived mail posted to the Subversion Dev mailing list.