Runtime tables deterministic ordering (4)
Output C/C++ type strings (| separated) in swig_type_info tables in fixed order. The types are output in alphabetically sorted order, with an exception. The final type is a fully resolved type, but does not necessarily include default template parameters. This type is the one used by SWIG_TypePrettyName which is commonly used to display a type when the wrong type is passed in as a parameter. Previously the order was not very deterministic due to the use of internal hash tables which do not have an ordering guarantee.
This commit is contained in:
parent
5fdb591a62
commit
15b2ec53e3
3 changed files with 48 additions and 20 deletions
|
|
@ -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-09-29: wsfulton
|
||||
#2303 Type tables are now output in a fixed order whereas previously
|
||||
the order may change with any minor input code change. This shouldn't
|
||||
affect users except SWIG_TypePrettyName may output a different C/C++
|
||||
typedef to a type - it's used mostly for showing errors when the type
|
||||
passed to a function is wrong.
|
||||
|
||||
2022-09-29: olly
|
||||
[PHP] Dynamic class properties are no longer supported by default.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue