swig/Examples/c/exception
Vadim Zeitlin e8f9bdba80 Remove wrapper aliases generation and use -namespace in the tests
The -namespace option provides a better way of using the wrapped API, so
drop the optional wrapper generation, which is useless when this option
is used and just generates many lines of unwanted junk in the header.

Update the test suite and the examples to compensate to not rely on
being able to define SWIG_DEFINE_WRAPPER_ALIASES and add -namespace
option to all C++ tests, as it's done for C# test suite, and update them
to use the correct prefix and also use the accessors for the global
variables rather than using them directly, as this is impossible when
namespace prefix is used (it would have been possible to define a
preprocessor symbol corresponding to the real variable name, but it's
arguably not worth it).

fixup! Remove wrapper aliases generation and use -namespace in the tests
2021-11-10 02:11:59 +01:00
..
example.cxx Removing some memory leak problems when handling exceptions. 2008-07-26 14:18:37 +00:00
example.h No real changes, just convert files to Unix EOLs 2016-04-16 00:10:22 +02:00
example.i Show how to handle a custom exception class in the example 2016-09-15 01:27:40 +02:00
Makefile Fix and simplify C examples makefiles 2016-04-10 22:45:51 +02:00
runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00