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

Bindings for svn_auth_get_platform_specific_client_providers missing

From: Matthijs Kooijman <matthijs_at_stdin.nl>
Date: Wed, 8 Sep 2010 15:44:08 +0200

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?
:-)

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.

Gr.

Matthijs

Received on 2010-09-08 15:47:54 CEST

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.