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

Re: Problem with python swig example - geturl.py

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-12-03 01:48:52 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, I hadn't looked up the definitions. Should the code then be:

  adm_baton = wc.svn_wc_adm_open(None, dir, True, True, adm_pool)

Or must the swig definition of svn_wc_adm_open be modified to support that
usage? Python doesn't support pointers, so there could be no other way of
getting the returned svn_wc_adm_access_t.

Then again, maybe I should leave this to a Swig expert before I make more of a
fool of myself :)

On Monday 02 December 2002 16:20, Philip Martin wrote:
> adm_baton = wc.svn_wc_adm_open(None, None, dir, True, True, adm_pool)
>
> that's six parameters, and the C prototype is
>
> svn_error_t *svn_wc_adm_open (svn_wc_adm_access_t **adm_access,
> svn_wc_adm_access_t *associated,
> const char *path,
> svn_boolean_t write_lock,
> svn_boolean_t tree_lock,
> apr_pool_t *pool);
>
> that's also six parameters.

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE96/90hDAgUT1yirARAmxhAJ9TUHY3AOTarYhazmrKUGslky+pOACdET7P
jlp5vTb26r9bs4V0T/quw14=
=YW9N
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 3 01:49:34 2002

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.