summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2022-09-17 14:27:51 +0200
committerOlly Betts <ojwbetts@gmail.com>2022-09-19 12:40:03 +1200
commitb9fa8c23bb590c307c42ec277255a927ee654c4e (patch)
tree5044334949c79680a96fc6fc2179ca75d9fbeb6c /Lib
parente97181ebc07a4755c1ab3e6f08eef12a3f9de07e (diff)
downloadswig-b9fa8c23bb590c307c42ec277255a927ee654c4e.tar.gz
Make method wrappers suffix optional and disabled by default
Unfortunately the changes of 26bf86322 (Use SWIG-specific for non-overloaded synthesized functions too, 2021-11-09) did break some existing code bases using SWIG as they hardcoded the old wrapper function names. So turn this off by default and add a global variable allowing to enable this, which can be done for a specific language only. This is ugly but, unfortunately, there is no way to use the Language object from the C function Swig_MethodToFunction(), so the only alternative would be to add another parameter to it, but it already has 6 of them, so it wouldn't really be that much better. See #2366, #2368, #2370.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions