swig/Lib/csharp
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_csharp.i Change C# bool[] typemaps to marshall as 1-byte 2019-07-06 12:56:27 +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
complex.i Add std_complex.i for C# too 2017-04-14 19:23:31 +02:00
csharp.swg Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
csharphead.swg Avoid -Wempty-body warnings from SWIG_contract_assert 2022-02-11 18:39:08 +13:00
csharpkw.swg Renames performed by %namewarn with rename= are printed in warning message 2022-02-06 13:51:37 -05:00
director.swg Add raise methods for throwing c++ exceptions in C#, Java, D 2017-05-13 17:01:15 +01:00
enums.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumsimple.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumtypesafe.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
std_array.i Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +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_complex.i Precision loss warning fixes for C# std::complex<float> typemaps 2017-10-10 19:26:54 +01: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 Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01:00
std_map.i Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_set.i Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01: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 More director const std::string& testing and C# leak fix 2022-02-13 23:00:04 +00: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_vector.i Cosmetic stray semi-colon removal after %typemap using quotes 2022-08-31 19:40:13 +01:00
std_wstring.i C# std::wstring director support 2022-05-04 21:37:47 +01:00
stl.i Create a consistent stl.i library file 2019-02-12 18:46:05 +00:00
swiginterface.i Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value. 2016-05-14 21:32:24 +01:00
swigmove.i Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
swigtype_inout.i Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps. 2014-02-04 06:54:22 +00:00
typemaps.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
wchar.i C# CreateWStringFromUTF32 optimisation 2022-09-30 23:21:39 +01:00