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

Re: Help typemapping wcprop_changes (partial patch)

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-05-04 20:31:05 CEST

"David James" <james@cs.toronto.edu> writes:

> I've sketched out an (untested) fix for your typemap below:
>
> #ifdef SWIGPYTHON
> %typemap(in) apr_array_header_t *wcprop_changes
> (apr_pool_t *_global_pool = NULL, PyObject *_global_py_pool = NULL)
> {
> if (_global_pool == NULL)
> {
> if (svn_swig_py_get_parent_pool(args, $descriptor(apr_pool_t *),
> &_global_py_pool, &_global_pool))
> SWIG_fail;
> }
>
> $1 = svn_swig_py_proparray_from_dict($input, _global_pool);
> if (PyErr_Occurred()) {
> SWIG_fail;
> }
> }
> #endif

This worked perfectly, actually, so i committed 24935. Thanks.

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 4 20:32:24 2007

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.