svn commit: r1929560 - subversion/trunk/subversion/bindings/swig/include

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <176246607701.3452189.14727249836114014928@svn02-us-east.apache.org>
Author: jun66j5
Date: Thu Nov  6 21:54:36 2025
New Revision: 1929560

Log:
Adapt swig-py to SWIG 4.4.0.

* subversion/bindings/swig/include/svn_types.swg
  (%typemap(in) apr_pool_t *):
   Use `SWIG_Error(SWIG_TypeError)` instead of removed `SWIG_Python_TypeError`
   in SWIG 4.4.0

Modified:
   subversion/trunk/subversion/bindings/swig/include/svn_types.swg

Modified: subversion/trunk/subversion/bindings/swig/include/svn_types.swg
==============================================================================
--- subversion/trunk/subversion/bindings/swig/include/svn_types.swg	Thu Nov  6 21:38:41 2025	(r1929559)
+++ subversion/trunk/subversion/bindings/swig/include/svn_types.swg	Thu Nov  6 21:54:36 2025	(r1929560)
@@ -656,7 +656,7 @@ svn_ ## TYPE ## _swig_rb_closed(VALUE se
 %typemap(in, noblock=1) apr_pool_t * {
   /* Verify that the user supplied a valid pool */
   if ($input != Py_None && $input != _global_py_pool) {
-    SWIG_Python_TypeError(SWIG_TypePrettyName($descriptor), $input);
+    SWIG_Error(SWIG_TypeError,  "a '$type' is expected");
     SWIG_arg_fail($svn_argnum);
     SWIG_fail;
   }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.