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

Re: [patch] Building the Ruby bindings on windows with SWIG > 1.3.24

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-04-12 03:56:13 CEST

Hi kou,

On 4/11/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> Hi Joe,
>
> 2007/4/12, Joe Swatosh <joe.swatosh@gmail.com>:
> > Okay, third time's the charm, (actually the same as the second patch, but this
> > time I'm sure of the testing) I got it building and testing with these
> > results....
>
> There are some %apply in apr.i:
> /* If sizeof(apr_off_t) > sizeof(apr_int64_t), apr_off_t will get truncated
> * to a 64-bit integer */
> %apply long long { apr_off_t, apr_int64_t }
> %apply long long *OUTPUT { apr_int64_t * };
> %apply unsigned long long { apr_uint64_t }
>
> Is it enought that we define 'long long' and unsigned long long' typemap?
>
> What about the attached patch?
>

I haven't tried it yet (waiting for other tests), but I don't think it
will work. Without the "%clear long long" SWIG was generating
functions using long long instead of apr_int64_t. VC6 will generate
errors for any mention of long long. When my other tests are done,
I'll try it and give a 'for certain' answer.

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 12 03:56:33 2007

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.