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

Re: svn commit: r16914 - trunk/subversion/bindings/swig/include

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-10-22 21:41:40 CEST

On Sat, 2005-10-22 at 19:41 +0100, Philip Martin wrote:
> djames@tigris.org writes:
>
> > Author: djames
> > Date: Sat Oct 22 13:17:29 2005
> > New Revision: 16914
> >
> > Modified:
> > trunk/subversion/bindings/swig/include/svn_types.swg
> >
> > Log:
> > * subversion/bindings/swig/include/svn_types.swg
> > (apr_int64_t, svn_filesize_t): Use long long typemaps
> > on all platforms.
> >
> >
> > Modified: trunk/subversion/bindings/swig/include/svn_types.swg
> > Url: http://svn.collab.net/viewcvs/svn/trunk/subversion/bindings/swig/include/svn_types.swg?rev=16914&p1=trunk/subversion/bindings/swig/include/svn_types.swg&p2=trunk/subversion/bindings/swig/include/svn_types.swg&r1=16913&r2=16914
> > ==============================================================================
> > --- trunk/subversion/bindings/swig/include/svn_types.swg (original)
> > +++ trunk/subversion/bindings/swig/include/svn_types.swg Sat Oct 22 13:17:29 2005
> > @@ -67,11 +67,7 @@
> > %apply long *OUTPUT { svn_node_kind_t * };
> >
> > /* svn_config_get_server_setting_int() */
> > -#if APR_INT64_T_FMT == "ld"
> > -%apply long *OUTPUT { apr_int64_t * };
> > -#else
> > %apply long long *OUTPUT { apr_int64_t * };
> > -#endif
>
> I don't know how the binding work, but there are compilers that don't
> support "long long" (it was added in C99). I think Visual C++ 6 is
> one such compiler.
>

I should note, of course, that you can't legally do #if <something> ==
<string>

It doesn't work.
:)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 22 21:42:43 2005

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.