swig/Doc
Vadim Zeitlin 579c343d5f Represent enums as enums, not int, if possible
Use enum types instead of int for the enum-valued parameters and
function return values, this is more type-safe and clear for the users
of the library.

Change cpp_enum unit test to use C++ to check that C++ enum wrappers
can at least be compiled, but still use C API in it.

Note that enum whose underlying type is bigger than int still don't
work, but this is no different from what it was before, so just document
this limitation but don't do anything else about it for now.

This commit is best viewed ignoring whitespace-only changes.
2021-11-30 02:22:25 +01:00
..
Devel Disable Chicken target language 2019-02-05 18:42:12 +00:00
Manual Represent enums as enums, not int, if possible 2021-11-30 02:22:25 +01:00
README Revert rev 11187 "Merged with recent changes from trunk." 2012-05-06 01:13:16 +00:00

Doc/Manual    -  Latest version of the SWIG user manual
Doc/Devel     -  Developer documentation concerning SWIG internals.
                 (not necessarily up to date)

Open the index.html file in each of these directories with a web browser.