[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: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-22 20:58:06 CEST

Greg Stein wrote:

>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.
>

+1
.

>Another alternative is to put #ifndef SWIG around the thing right into the
>SVN header file. I prefer the former.
>
>
Me too. I'd do it, but can't SWIG it on Windows yet.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
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:58:45 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.