swig/Source
William S Fulton acbe8ed49c Runtime tables deterministic ordering (1)
Many parts of the runtime tables are alphabetically sorted before
for the generated code. This patch sorts the elements within the
swig_cast_info lists. Order now is first the elements without a
converter then the elements with a converter.
For example:

new:
static swig_cast_info _swigc__p_Foo[] = {
  {&_swigt__p_Foo, 0, 0, 0},
  {&_swigt__p_Bar, _p_BarTo_p_Foo, 0, 0},
  {&_swigt__p_Spam, _p_SpamTo_p_Foo, 0, 0},
  {0, 0, 0, 0}};

old:
static swig_cast_info _swigc__p_Foo[] = {
  {&_swigt__p_Bar, _p_BarTo_p_Foo, 0, 0},
  {&_swigt__p_Foo, 0, 0, 0},
  {&_swigt__p_Spam, _p_SpamTo_p_Foo, 0, 0},
  {0, 0, 0, 0}};

Previously the order was roughly in the order that the types were
parsed, but not necessarily due to the use of internal hash tables
which do not have an ordering guarantee.
2022-09-29 19:30:20 +01:00
..
CParse Fixes for classes with the same name in different namespaces 2022-09-21 22:38:22 +01:00
DOH Remove remaining code to support macos9 2022-07-19 11:22:37 +12:00
Doxygen Improve #include guard macros 2022-07-19 09:35:46 +12:00
Include Add support for the <=> operator (C++20) 2022-07-27 09:12:40 +12:00
Modules [php] Add php:allowdynamicproperties feature 2022-09-29 18:16:51 +13:00
Preprocessor ISO C comments fix 2022-08-04 07:51:20 +01:00
Swig Runtime tables deterministic ordering (1) 2022-09-29 19:30:20 +01:00
Makefile.am Remove -browse command line option 2022-04-03 08:56:07 +12:00
README Remove details of long-removed directories 2021-05-16 08:42:39 +12:00

SWIG Source directory

 Source/DOH          -  A core set of basic datatypes including
                        strings, lists, hashes, and files.  Used
                        extensively by the rest of SWIG.

 Source/Swig         -  Swig core. Type-system, utility functions.

 Source/Preprocessor -  SWIG C Preprocessor

 Source/CParse       -  SWIG C Parser (still messy)

 Source/Modules      -  Language modules.

 Source/Include      -  Include files.