You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/02/22 11:08:00 UTC
svn commit: r1292223 -
/subversion/trunk/subversion/bindings/swig/include/svn_containers.swg
Author: danielsh
Date: Wed Feb 22 10:08:00 2012
New Revision: 1292223
URL: http://svn.apache.org/viewvc?rev=1292223&view=rev
Log:
Expose svn_wc_parse_externals_description2() and
svn_wc_parse_externals_description3() to swig-py.
Found by: Nikolaus Demmel <ni...@nikolaus-demmel.de>
* subversion/bindings/swig/include/svn_containers.swg
(apr_array_header_t **externals_p): New SWIGPYTHON typemap.
Modified:
subversion/trunk/subversion/bindings/swig/include/svn_containers.swg
Modified: subversion/trunk/subversion/bindings/swig/include/svn_containers.swg
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/include/svn_containers.swg?rev=1292223&r1=1292222&r2=1292223&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/include/svn_containers.swg (original)
+++ subversion/trunk/subversion/bindings/swig/include/svn_containers.swg Wed Feb 22 10:08:00 2012
@@ -482,6 +482,16 @@
svn_wc_parse_externals_description3()
*/
+#ifdef SWIGPYTHON
+%typemap(argout) apr_array_header_t **externals_p {
+ %append_output
+ (svn_swig_py_pointerlist_to_list(*$1, $descriptor(svn_wc_external_item2_t *),
+ _global_py_pool));
+ if (PyErr_Occurred()) {
+ SWIG_fail;
+ }
+}
+#endif
#ifdef SWIGRUBY
%typemap(argout) apr_array_header_t **externals_p {
%append_output(svn_swig_rb_apr_array_to_array_external_item2(*$1));