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

Re: Bug? perl SVN bindings in win32

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2005-04-19 17:23:28 CEST

Branko Čibej <brane <at> xbc.nu> writes:
> > "Type error in argument 2 of
> > svn_auth_cred_ssl_server_trust_t_accepted_failures_set. Expected
> > _p_apr_uint32_t"
>
> I think clkao is working on this. IT looks like SWIG problem, but it's
> not clear if it's an ommision in our wrappers or a problem with SWIG on
> Windows in general.

Can you take a closer look? My generated core.c on freebsd is:
XS(_wrap_svn_auth_cred_ssl_server_trust_t_accepted_failures_set) {
...
        arg2 = (apr_uint32_t) SvUV(ST(1));
        if (arg1) (arg1)->accepted_failures = arg2;
...

While yours seem to have SWIG_ConvertPtr stuff for arg2. It seems SWIG can't
resolve the apr_uint32_t type to a normal uint.

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 19 17:53:47 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.