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

Re: python bindings

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-08-22 20:16:52 CEST

On Thu, Aug 22, 2002 at 10:59:45AM -0500, Jon Trowbridge wrote:
>
> After a bit of effort, I managed to get the python bindings working
> yesterday. Attached is a patch with the two small tweaks that it took
> to make everything build properly for me.

The __attribute__ usage must stay (we just introduced it recently, as a
matter of fact). It gives us helpful compiler-time checking for use of that
function.

The correct change is to introduce a #define into the SWIG .i files that
just defines __attribute__ to emptiness.

Another alternative is to put #ifndef SWIG around the thing right into the
SVN header file. I prefer the former.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 20:12:41 2002

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.