SWIG-python bindings broken for svn_fs_change_rev_prop2(... old_value_p ...)
From: Julian Foad <julianfoad_at_apache.org>
Date: Fri, 26 Oct 2018 09:26:37 +0100
svn_fs_change_rev_prop2(... old_value_p ...) crashes in 1.9.9.
The problem is with its 4th parameter, "const svn_string_t *const *old_value_p".
In 1.10.x the binding throws an "unimplemented" exception instead of crashing, because of the patch applied in
[[[
which changes the generated bindings as follows:
In both cases the generated code goes on like this:
which is treating the parameter as if it were an output parameter as most (TYPE **) parameters are, and assumes it is non-null, but this one is an input parameter (and may be null).
Can anyone help me work out the correct type-map(s) for it?
-- - JulianReceived on 2018-10-26 10:26:46 CEST |
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.