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

Re: svn commit: r33610 - trunk/subversion/bindings/swig

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 13 Oct 2008 02:29:04 -0700

Euh... can't you just use #ifndef rather than the bulky #if !defined(...) ??

On Mon, Oct 13, 2008 at 12:28 AM, <jwhitlock_at_tigris.org> wrote:
> Author: jwhitlock
> Date: Mon Oct 13 00:28:20 2008
> New Revision: 33610
>
> Log:
> * subversion/bindings/swig/core.i,
> subversion/bindings/swig/svn_client.i: Conditionally include platform-specific
> auth providers.
>
> Modified:
> trunk/subversion/bindings/swig/core.i
> trunk/subversion/bindings/swig/svn_client.i
>
> Modified: trunk/subversion/bindings/swig/core.i
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/core.i?pathrev=33610&r1=33609&r2=33610
> ==============================================================================
> --- trunk/subversion/bindings/swig/core.i Sun Oct 12 15:04:20 2008 (r33609)
> +++ trunk/subversion/bindings/swig/core.i Mon Oct 13 00:28:20 2008 (r33610)
> @@ -217,6 +217,34 @@
> %ignore svn_path_cstring_from_utf8;
> %ignore svn_path_cstring_to_utf8;
>
> +%import "../../../svn_private_config.h"
> +
> +/* svn_auth.h: Conditionally include OS X auth providers. */
> +#if !defined(SVN_HAVE_KEYCHAIN_SERVICES)
> +%ignore svn_auth_get_keychain_simple_provider;
> +%ignore svn_auth_get_keychain_ssl_client_cert_pw_provider;
> +#endif
> +
> +/* svn_auth.h: Conditionally include Gnome Keyring auth providers. */
> +#if !defined(SVN_HAVE_GNOME_KEYRING)
> +%ignore svn_auth_gnome_keyring_version;
> +%ignore svn_auth_get_gnome_keyring_simple_provider;
> +%ignore svn_auth_get_gnome_keyring_ssl_client_cert_pw_provider;
> +#endif
> +
> +/* svn_auth.h: Conditionally include Kwallet auth providers. */
> +#if !defined(SVN_HAVE_KWALLET)
> +%ignore svn_auth_kwallet_version;
> +%ignore svn_auth_get_kwallet_simple_provider;
> +%ignore svn_auth_get_kwallet_ssl_client_cert_pw_provider;
> +#endif
> +
> +/* svn_auth.h: Conditionally include Windows auth providers. */
> +#if !defined(SWIGWIN)
> +%ignore svn_auth_get_windows_simple_provider;
> +%ignore svn_auth_get_windows_ssl_server_trust_provider;
> +#endif
> +
> /* Other files */
> /* bad pool convention */
> %ignore svn_opt_print_generic_help;
>
> Modified: trunk/subversion/bindings/swig/svn_client.i
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/svn_client.i?pathrev=33610&r1=33609&r2=33610
> ==============================================================================
> --- trunk/subversion/bindings/swig/svn_client.i Sun Oct 12 15:04:20 2008 (r33609)
> +++ trunk/subversion/bindings/swig/svn_client.i Mon Oct 13 00:28:20 2008 (r33610)
> @@ -29,6 +29,11 @@
> %import svn_delta.i
> %import svn_wc.i
>
> +/* svn_client.h: Conditionally include Windows auth provider. */
> +#if !defined(SWIGWIN)
> +%ignore svn_client_get_windows_simple_provider;
> +#endif
> +
> /* -----------------------------------------------------------------------
> %apply-ing of typemaps defined elsewhere
> */
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-13 11:29:22 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.