diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-10 08:27:44 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-10 08:45:26 +0100 |
commit | 2f55379687a394e941a20e2224eb1125d66720cd (patch) | |
tree | c2fed466f30bc0866402bfa8e1ecd46da1ce3ff4 /CHANGES.current | |
parent | 4a397869a2e2be3c196fac3b404aabe0cc19f494 (diff) | |
download | swig-2f55379687a394e941a20e2224eb1125d66720cd.tar.gz |
Improve director unwrap detection for the return type
Resolve the return type to correctly determine if the type is a pointer or
reference to a director class.
SwigType_refptr_count_return() recently added as a simpler fix is no
longer needed.
The conventional approach of using the "type" rather than "decl" to
analyse the return type is used instead too.
Issue #1823
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index 224ea36d7..bc9f386d8 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -7,6 +7,13 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/ Version 4.1.0 (in progress) =========================== +2022-10-10: treitmayr, wsfulton + [Python, Ruby] #1811 #1823 Fix invalid code generated in some cases when + returning a pointer or reference to a director-enabled class instance. + This previously only worked in very simple cases, now return types are + resolved to fix. A bug in template instantations using pointers also + works now. + 2022-10-06: wsfulton [CFFI] #1966 #2200 Remove code for Common Lisp CFFI. We dropped support for it in SWIG 4.0.0 by disabling it as the first stage. This is the |