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

Re: Perl bindings for Subversion using SWIG

From: <autarch_at_urth.org>
Date: 2003-01-25 01:14:34 CET

On Fri, 24 Jan 2003 pwd@mdtsoft.com wrote:

 I have used XS some but as the swig xxx.i files are already written
 it looks like swig should be not too hard.

Yes and no. You still have to write the Perl-specific SWIG stuff, which
is the hard part. Take a look at the existing swig files and you'll see
that most of the ugly stuff is language-specific (Python, Java).

If you aren't an expert with either SWIG or XS my guess is that Inline::C
is probably the easiest way to do this. Of course, I idly tried working
on a Subversion wrapper using Inline::C, and I got nowhere. But I really
don't know much about C, and I didn't try all _that_ hard.

My guess that the really hard part is simply grokking the subversion API,
and understanding what needs exposure to Perl and what doesn't.


House Absolute Consulting

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:16:16 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.