On Fri, 23 Mar 2007, Kouhei Sutou wrote:
...
> I think that the following typemaps should be defined in
> svn_containers.swg.
Okay, moved in r24062.
> >Modified: trunk/subversion/bindings/swig/include/svn_types.swg
> >URL:
> >http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/include/svn_types.swg?pathrev=24027&r1=24026&r2=24027
> >==============================================================================
> >--- trunk/subversion/bindings/swig/include/svn_types.swg (original)
> >+++ trunk/subversion/bindings/swig/include/svn_types.swg Thu Mar 22
> >14:11:00 2007
> >@@ -363,6 +363,51 @@
> > }
> > #endif
> >
> >+#ifdef SWIGPYTHON
> >+%typemap(in) apr_array_header_t *RANGELIST {
> >+ $1 = svn_swig_py_rangelist_to_array ($input, _global_pool);
> >+ if (PyErr_Occurred()) {
> >+ SWIG_fail;
> >+ }
> >+}
> >+#endif
> >+
> >+#ifdef SWIGPYTHON
> >+%typemap(in) apr_hash_t *MERGEINFO {
> >+ $1 = svn_swig_py_mergeinfo_from_dict ($input, _global_pool);
> >+ if (PyErr_Occurred()) {
> >+ SWIG_fail;
> >+ }
> >+}
> >+#endif
> >+
> >+#ifdef SWIGPYTHON
> >+%typemap(argout) apr_hash_t **MERGEHASH
> >+{
> >+ $result = t_output_helper(
> >+ $result,
> >+ svn_swig_py_mergeinfo_to_dict(*$1,
> >+ $descriptor(svn_merge_range_t *),
> >+ _global_py_pool));
> >+ if (PyErr_Occurred()) {
> >+ SWIG_fail;
> >+ }
> >+}
> >+#endif
...
- application/pgp-signature attachment: stored
Received on Fri Mar 23 23:08:35 2007