On Wed, Sep 8, 2010 at 8:44 AM, Matthijs Kooijman <matthijs_at_stdin.nl> wrote:
> Hi folks,
> while trying to get git-svn to work with gnome-keyring, I found that the
> (perl) bindings for the svn_auth_get_platform_specific_client_providers
> function are missing. Or actually, a binding is generated, but it
> ends with:
> /* FIXME: Missing argout typemap: svn_auth_get_platform_specific_client_providers arg 1 (apr_array_header_t **) */
> SWIG_exception(SWIG_ValueError, "svn_auth_get_platform_specific_client_providers is not implemented yet");
> However, from bindings/swig/INSTALL, I gather "The Perl bindings are
> complete". Does this mean that this function is inentionally left out,
> of did the function just get added after this INSTALL file was written?
In all likelihood, yes. :) The Perl bindings haven't been actively
maintained for quite some time, while the underlying libraries have
continued to evolve, so there are bound to be a few types and APIs
which are no longer complete in the Perl bindings.
> Anyway, I had a quick look at implementing this, it seems this needs
> an argout typemap for the "apr_array_header_t **providers" typemap. It
> seems the "svn_auth_provider_object_t*" type (which is contained in the
> "providers" outarg of svn_auth_get_platform_specific_client_providers is
> already automatically converted to a swig pointer object, so no separate
> typemap for that is needed.
> While writing this, I've finally found the "include/svn_containers.swg"
> file containing all kinds of typemaps for the apr_*_t types. I'll try
> poking in there a bit, I'll keep you posted.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> -----END PGP SIGNATURE-----
Received on 2010-09-08 20:41:46 CEST