swig/Examples/c
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
..
class Don't use SWIG_exit() in C examples 2021-10-05 00:26:12 +02:00
exception Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
simple Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
std_vector Avoid -Wformat warnings in C std_vector example 2021-10-05 00:57:45 +02:00
check.list Many major improvements. Almost all testsuite compiles now. 2009-04-15 23:30:16 +00:00