[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: <pwd_at_mdtsoft.com>
Date: 2003-01-27 14:11:57 CET

On 24 Jan, Dave Rolsky wrote:
 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).

Well I started with the swig over the weekend. I was able to generate
the *wrap*.c file but am still working on getting it to compile.
The typemap stuff in SWIG is not much different from XS so my bigest problem
will be understanding some of the APIs for subversion, in addtion to not
having enough time to work on this.

I have a MakeMaker file started but it is not yet able to generate a Makefile
that will compile the code.
 
 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.
 
 
 -dave
 
 /*=======================
 House Absolute Consulting
 www.houseabsolute.com
 =======================*/
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
 For additional commands, e-mail: dev-help@subversion.tigris.org

-- 
It is MDT, Inc's policy to delete mail containing unsolicited file attachments.
Please be sure to contact the MDT staff member BEFORE sending an e-mail with
any file attachments; they will be able to arrange for the files to be received.
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please advise postmaster@mdtsoft.com
mailto:postmaster@mdtsoft.com.
Philip W. Dalrymple III pwd@mdtsoft.com
MDT Software - The Change Management Company
+1 678 297 1001
Fax +1 678 297 1003
---------------------------------------------------------------------
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:19:21 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.