swig/Lib/java
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
..
arrays_java.i Lib/java/arrays_java.i: use actual C/C++ type in JAVA_ARRAYS_TYPEMAPS. 2021-03-19 16:29:48 +01:00
boost_intrusive_ptr.i More move semantics improvements 2022-07-04 11:19:50 +01:00
boost_shared_ptr.i More move semantics improvements 2022-07-04 11:19:50 +01:00
director.swg Cosmetic tidyup in SWIG_JAVA_DETACH_ON_THREAD_END code 2022-05-28 10:22:34 +01:00
enums.swg Java enums - remove redundant typemaps 2014-03-28 07:45:23 +00:00
enumsimple.swg The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc. 2011-12-21 07:16:44 +00:00
enumtypesafe.swg Java enums - remove redundant typemaps 2014-03-28 07:45:23 +00:00
enumtypeunsafe.swg The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc. 2011-12-21 07:16:44 +00:00
java.swg Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
javahead.swg Avoid -Wempty-body warnings from SWIG_contract_assert 2022-02-11 18:39:08 +13:00
javakw.swg Renames performed by %namewarn with rename= are printed in warning message 2022-02-06 13:51:37 -05:00
std_array.i Improve backwards compatibility in C#/Java std::array wrappers 2019-04-19 11:06:24 +01:00
std_auto_ptr.i Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
std_common.i const size_t& typemaps added 2006-10-17 21:43:40 +00:00
std_deque.i Each target language now has its own std_deque.i like the other STL wrappers. 2006-01-08 20:08:44 +00:00
std_except.i Add <typeinfo> header for std::bad_cast 2016-09-17 13:24:32 +02:00
std_list.i Java std::vector improvements for types that do not have a default constructor. 2019-03-01 18:01:14 +00:00
std_map.i Handle review comments 2019-02-22 10:55:20 -06:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_set.i Fix std::vector<> Java typemaps for primitive types 2019-07-11 13:10:23 +02:00
std_shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_string.i Use more conventional naming for generated Java LocalRefGuard variables 2014-09-27 14:32:03 +01:00
std_unique_ptr.i Add missing typecheck typemaps for std::auto_ptr and std::unique_ptr 2022-09-17 10:23:51 +01:00
std_unordered_map.i Handle review comments 2019-02-22 10:55:20 -06:00
std_unordered_set.i Correct unordered_set/unordered_multiset template Key parameter name 2019-03-12 20:21:19 +00:00
std_vector.i Java std::vector constructor performance improvement 2019-06-06 19:29:11 +01:00
std_wstring.i Java wstring throws typemap improvements 2022-05-07 08:16:48 +01:00
stl.i Create a consistent stl.i library file 2019-02-12 18:46:05 +00:00
swiginterface.i Performance optimisation for directors for classes passed by value 2022-07-04 11:19:29 +01:00
swigmove.i Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
typemaps.i Fix crash Java directors 2018-08-12 13:45:43 +01:00
various.i follow-up typos 2018-05-17 10:26:00 -04:00