swig/Source/Modules
Olly Betts 4ac3c87a29 Sort out predefined SWIG-specific macros
Ensure that SWIG_VERSION is defined both at SWIG-time and in the
generated C/C++ wrapper code (it was only defined in the wrapper
for some target languages previously).

SWIGGO and SWIGJAVASCRIPT are now defined in the generated wrappers
to match behaviour for all other target languages.

Stop defining SWIGVERSION in the wrapper.  This only happened as a
side-effect of how SWIG_VERSION was defined but was never documented and
is redundant.

The new testcase also checks that SWIG is defined at SWIG-time but not
in the generated wrapper, and that exactly one of a list of
target-language specific macros is defined.

Fixes #1050
2022-10-05 12:40:15 +13:00
..
allocate.cxx Use GetFlag instead of Getattr for feature:interface 2022-03-12 23:04:24 +00:00
cffi.cxx Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00
contract.cxx Cosmetics/code beautification of nested class support 2013-11-29 07:29:58 +00:00
csharp.cxx Order of interfaces generated for %interface macros 2022-07-20 19:50:53 +01:00
d.cxx [D] Fix occasional undefined behaviour with inheritance hierarchies 2022-08-05 22:30:23 +01:00
directors.cxx Remove set but not used variables 2022-06-30 12:52:37 +12:00
emit.cxx Remove support for $source and $target 2021-04-30 10:20:14 +12:00
go.cxx Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
guile.cxx Header file tidyup 2022-05-07 11:56:06 +01:00
interface.cxx Order of interfaces generated for %interface macros 2022-07-20 19:50:53 +01:00
java.cxx Order of interfaces generated for %interface macros 2022-07-20 19:50:53 +01:00
javascript.cxx Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
lang.cxx Make method wrappers suffix optional and disabled by default 2022-09-19 12:40:03 +12:00
lua.cxx Remove set but not used variables 2022-06-30 12:52:37 +12:00
main.cxx Make method wrappers suffix optional and disabled by default 2022-09-19 12:40:03 +12:00
mzscheme.cxx Header file tidyup 2022-05-07 11:56:06 +01:00
nested.cxx Fix typos in docs and comments 2022-02-27 18:15:46 +13:00
ocaml.cxx Remove set but not used variables 2022-06-30 12:52:37 +12:00
octave.cxx Fix -Wmisleading-indentation in Octave wrappers 2022-09-20 22:31:50 +01:00
overload.cxx Improvements to the -debug command line options 2022-03-25 23:34:52 +00:00
perl5.cxx [perl] Note in -help that -proxy is on by default 2022-07-28 10:23:54 +12:00
php.cxx [php] Fix emitted PHP type declarations in corner cases 2022-10-04 16:09:02 +13:00
python.cxx Generate richcompare switch statements in sorted order 2022-09-30 23:04:06 +01:00
r.cxx Fix various typos 2022-04-11 07:59:36 +12:00
README File move 2002-12-03 20:33:35 +00:00
ruby.cxx Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00
scilab.cxx Header file tidyup 2022-05-07 11:56:06 +01:00
swigmain.cxx Remove remaining code to support macos9 2022-07-19 11:22:37 +12:00
swigmod.h Improve #include guard macros 2022-07-19 09:35:46 +12:00
tcl8.cxx Remove set but not used variables 2022-06-30 12:52:37 +12:00
typepass.cxx Fix using declaration in derived class bugs 2022-03-24 20:52:58 +00:00
utils.cxx Header file tidyup 2022-05-07 11:56:06 +01:00
xml.cxx Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00

06/25/2002

This directory contains all of the SWIG language modules.  Many of these
modules contain code that dates back to SWIG1.0.  The module API has changed
a lot in the development releases so this is fairly messy.  We're working on
cleaning it up, but you'll have to bear with us until it's done.

-- Dave