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 2015/09/03 11:21:44 UTC
svn commit: r1700966 -
/subversion/trunk/subversion/bindings/swig/include/svn_types.swg
Author: danielsh
Date: Thu Sep 3 09:21:43 2015
New Revision: 1700966
URL: http://svn.apache.org/r1700966
Log:
swig: Disable wrappers that aren't working.
This disables svn_fs_change_rev_prop2() and its higher-layer wrappers, which
are currently segfaulting when called from Python (other languages weren't
tested).
Found by: Mark Ziesemer <online{_AT_}mark.ziesemer.com>
* subversion/bindings/swig/include/svn_types.swg
(const svn_string_t *const *old_value_p): New typemap.
Modified:
subversion/trunk/subversion/bindings/swig/include/svn_types.swg
Modified: subversion/trunk/subversion/bindings/swig/include/svn_types.swg
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/include/svn_types.swg?rev=1700966&r1=1700965&r2=1700966&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/include/svn_types.swg (original)
+++ subversion/trunk/subversion/bindings/swig/include/svn_types.swg Thu Sep 3 09:21:43 2015
@@ -69,6 +69,15 @@
#endif
}
+%typemap(in,warning="901:FIXME: Missing old_value_p typemap") const svn_string_t *const *old_value_p {
+#if defined(SWIGRUBY) && SWIG_VERSION <= 0x010329
+ /* Ruby fails to define $symname. */
+ SWIG_exception(SWIG_ValueError, "Function is not implemented yet");
+#else
+ SWIG_exception(SWIG_ValueError, "$symname is not implemented yet");
+#endif
+}
+
#ifdef SWIGPYTHON
%typemap(argout) SWIGTYPE **OUTPARAM {
%append_output(svn_swig_py_new_pointer_obj(*$1, $*1_descriptor,